From: Kurt Zeilenga Date: Mon, 19 Jul 1999 19:28:21 +0000 (+0000) Subject: s/time(0)/time(NULL)/ X-Git-Tag: OPENLDAP_REL_ENG_2_BP~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d2487f9219b7d0d26e596f79abfb0fa8d4b44d95;p=openldap s/time(0)/time(NULL)/ --- 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 ); }