lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1850 - in nss-pam-ldapd-0.8: . common

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1850 - in nss-pam-ldapd-0.8: . common



Author: arthur
Date: Sat Dec  8 23:48:22 2012
New Revision: 1850
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1850&view=revision

Log:
fix setting deadline microsecond value (thanks Julien Cristau) (r1848 from 
trunk)

Modified:
   nss-pam-ldapd-0.8/   (props changed)
   nss-pam-ldapd-0.8/common/tio.c

Modified: nss-pam-ldapd-0.8/common/tio.c
==============================================================================
--- nss-pam-ldapd-0.8/common/tio.c      Sat Dec  8 23:44:37 2012        (r1849)
+++ nss-pam-ldapd-0.8/common/tio.c      Sat Dec  8 23:48:22 2012        (r1850)
@@ -86,7 +86,7 @@
     return;
   }
   deadline->tv_sec+=timeout/1000;
-  deadline->tv_sec+=(timeout%1000)*1000;
+  deadline->tv_usec+=(timeout%1000)*1000;
 }
 
 /* update the timeout to the value that is remaining before deadline
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/