From d2487f9219b7d0d26e596f79abfb0fa8d4b44d95 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 19 Jul 1999 19:28:21 +0000 Subject: [PATCH] s/time(0)/time(NULL)/ --- libraries/libldap/request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 76aa484e90..da17e273bf 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -409,7 +409,7 @@ static void use_connection( LDAP *ld, LDAPConn *lc ) { ++lc->lconn_refcnt; - lc->lconn_lastused = time( 0 ); + lc->lconn_lastused = time( NULL ); } @@ -456,7 +456,7 @@ ldap_free_connection( LDAP *ld, LDAPConn *lc, int force, int unbind ) Debug( LDAP_DEBUG_TRACE, "ldap_free_connection: actually freed\n", 0, 0, 0 ); } else { - lc->lconn_lastused = time( 0 ); + lc->lconn_lastused = time( NULL ); Debug( LDAP_DEBUG_TRACE, "ldap_free_connection: refcnt %d\n", lc->lconn_refcnt, 0, 0 ); } -- 2.39.5