nss-pam-ldapd commit: r1848 - nss-pam-ldapd/common
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1848 - nss-pam-ldapd/common
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1848 - nss-pam-ldapd/common
- Date: Sat, 8 Dec 2012 23:42:55 +0100 (CET)
Author: arthur
Date: Sat Dec 8 23:42:55 2012
New Revision: 1848
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1848&view=revision
Log:
update microseconds when setting deadline, not seconds (thanks Julien Cristau)
Modified:
nss-pam-ldapd/common/tio.c
Modified: nss-pam-ldapd/common/tio.c
==============================================================================
--- nss-pam-ldapd/common/tio.c Sat Dec 8 23:34:02 2012 (r1847)
+++ nss-pam-ldapd/common/tio.c Sat Dec 8 23:42:55 2012 (r1848)
@@ -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/
- nss-pam-ldapd commit: r1848 - nss-pam-ldapd/common,
Commits of the nss-pam-ldapd project