]> git.sur5r.net Git - openldap/commitdiff
ITS#3763 fix typo in slap_timestamp
authorHoward Chu <hyc@openldap.org>
Thu, 9 Jun 2005 18:59:54 +0000 (18:59 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 9 Jun 2005 18:59:54 +0000 (18:59 +0000)
servers/slapd/modify.c

index 17ac17c4a344cab02b66af639e91ec33d9c23964..89a7b4f8cdf3fc4fa9200ebb0834f8a6ea82a34c 100644 (file)
@@ -844,7 +844,7 @@ void slap_timestamp( time_t *tm, struct berval *bv )
        ltm = gmtime_r( tm, &ltm_buf );
 #else
        ldap_pvt_thread_mutex_lock( &gmtime_mutex );
-       ltm = gmtime( &tm );
+       ltm = gmtime( tm );
 #endif
 
        bv->bv_len = lutil_gentime( bv->bv_val, bv->bv_len, ltm );