diff options
author | runge <runge> | 2006-06-18 23:59:45 +0000 |
---|---|---|
committer | runge <runge> | 2006-06-18 23:59:45 +0000 |
commit | 64e731a9da82e3cc614e274d6fca6f855d0359b7 (patch) | |
tree | 540bca0a021f3e74b768a747bc3d75435848ca0d /x11vnc/pm.c | |
parent | 363ae71df0f25b018136d19eed20be954e1dd088 (diff) | |
download | libtdevnc-64e731a9da82e3cc614e274d6fca6f855d0359b7.tar.gz libtdevnc-64e731a9da82e3cc614e274d6fca6f855d0359b7.zip |
x11vnc: --grabkbd, -grabptr, -env, -allowedcmds, unixpw+WAIT user fred:options
Diffstat (limited to 'x11vnc/pm.c')
-rw-r--r-- | x11vnc/pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/pm.c b/x11vnc/pm.c index 2ddb009..75e4e1e 100644 --- a/x11vnc/pm.c +++ b/x11vnc/pm.c @@ -51,10 +51,10 @@ static void check_fbpm(void) { if (! client_count) { return; } - if (time(0) < last_fbpm + 5) { + if (time(NULL) < last_fbpm + 5) { return; } - last_fbpm = time(0); + last_fbpm = time(NULL); if (FBPMInfo(dpy, &level, &enabled)) { if (db) fprintf(stderr, "FBPMInfo level: %d enabled: %d\n", level, enabled); |