]> git.sur5r.net Git - openldap/commitdiff
Fix a1e3b1cf3c5991ef550f608ee816e9274e547dda
authorHoward Chu <hyc@openldap.org>
Wed, 15 Oct 2014 10:11:08 +0000 (11:11 +0100)
committerHoward Chu <hyc@openldap.org>
Wed, 15 Oct 2014 10:11:08 +0000 (11:11 +0100)
copy/paste error

libraries/libldap/result.c

index b366ce8e0108888fcf47183eb785ff808d1470da..f55cd14682f667b1c6a27ef39d4fed446dffe632 100644 (file)
@@ -387,7 +387,7 @@ wait4msg(
 #ifdef HAVE_GETTIMEOFDAY
                        gettimeofday( &curr_time_tv, NULL );
 #else /* ! HAVE_GETTIMEOFDAY */
-                       start_time_tv.tv_sec = time( NULL );
+                       curr_time_tv.tv_sec = time( NULL );
                        curr_time_tv.tv_usec = 0;
 #endif /* ! HAVE_GETTIMEOFDAY */