summaryrefslogtreecommitdiff
path: root/source3/include/ads.h
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-09-07 02:15:09 +0200
committerBjörn Jacke <bj@sernet.de>2010-09-07 20:37:53 +0200
commit5b016dbab852cd443c8f9049acb94a113de227e1 (patch)
tree9696dc918a7b6f326fb3e5816262030c30e0e477 /source3/include/ads.h
parentf69085e5ff525d534f66c6163aacb8c320a484bc (diff)
downloadsamba-5b016dbab852cd443c8f9049acb94a113de227e1.tar.gz
samba-5b016dbab852cd443c8f9049acb94a113de227e1.tar.bz2
samba-5b016dbab852cd443c8f9049acb94a113de227e1.zip
s3/libads: use monotonic clock for ldap connection timeouts
Diffstat (limited to 'source3/include/ads.h')
-rw-r--r--source3/include/ads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index b45d53de07..6ef5455766 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -65,7 +65,7 @@ typedef struct ads_struct {
struct {
LDAP *ld;
struct sockaddr_storage ss; /* the ip of the active connection, if any */
- time_t last_attempt; /* last attempt to reconnect */
+ time_t last_attempt; /* last attempt to reconnect, monotonic clock */
int port;
enum ads_saslwrap_type wrap_type;