diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-27 13:18:52 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-27 13:18:52 +1100 |
commit | 4d40b86805452c0b769ebdaaa14c05ad13c24852 (patch) | |
tree | a6d51a173ddd5a7e18969c8d728e7aaf3393bac1 /ctdb/client | |
parent | 3d713d9e53ccfe1569713ec9b4058705629cbb80 (diff) | |
download | samba-4d40b86805452c0b769ebdaaa14c05ad13c24852.tar.gz samba-4d40b86805452c0b769ebdaaa14c05ad13c24852.tar.xz samba-4d40b86805452c0b769ebdaaa14c05ad13c24852.zip |
for debugging
add a global variable holding the pid of the main daemon.
change the tracking of time() in the event loop to only check/warn when called from the main daemon
(This used to be ctdb commit a10fc51f4c30e85ada6d4b7347b0f9a8ebc76637)
Diffstat (limited to 'ctdb/client')
-rw-r--r-- | ctdb/client/ctdb_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/client/ctdb_client.c b/ctdb/client/ctdb_client.c index e8c543f149..d4130cdf58 100644 --- a/ctdb/client/ctdb_client.c +++ b/ctdb/client/ctdb_client.c @@ -30,6 +30,8 @@ #include "../include/ctdb_private.h" #include "lib/util/dlinklist.h" +pid_t ctdbd_pid; + /* allocate a packet for use in client<->daemon communication */ |