nss-pam-ldapd commit: r1421 - nss-pam-ldapd/common
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1421 - 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: r1421 - nss-pam-ldapd/common
- Date: Thu, 31 Mar 2011 22:22:23 +0200 (CEST)
Author: arthur
Date: Thu Mar 31 22:22:22 2011
New Revision: 1421
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1421
Log:
tv_usec in struct timeval must be lower than 1000000 (patch by SATOH Fumiyasu)
Modified:
nss-pam-ldapd/common/tio.c
Modified: nss-pam-ldapd/common/tio.c
==============================================================================
--- nss-pam-ldapd/common/tio.c Thu Mar 31 22:16:44 2011 (r1420)
+++ nss-pam-ldapd/common/tio.c Thu Mar 31 22:22:22 2011 (r1421)
@@ -78,7 +78,7 @@
{
/* BUG: we hope that this does not overflow */
tv1->tv_usec+=tv2->tv_usec;
- if (tv1->tv_usec>1000000)
+ if (tv1->tv_usec>=1000000)
{
tv1->tv_usec-=1000000;
tv1->tv_sec+=1;
--
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: r1421 - nss-pam-ldapd/common,
Commits of the nss-pam-ldapd project