]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-sql/add.c
wrap gmtime for reentrancy (ITS#6262)
[openldap] / servers / slapd / back-sql / add.c
index ae88f76e4938b4fc0215c4f5db04a3153ce57439..7f4155ea58e693ce442b24ed6509002076a1441f 100644 (file)
@@ -939,7 +939,7 @@ backsql_add( Operation *op, SlapReply *rs )
         * NOTE: fake successful result to force contextCSN to be bumped up
         */
        if ( op->o_sync ) {
-               char            buf[ LDAP_LUTIL_CSNSTR_BUFSIZE ];
+               char            buf[ LDAP_PVT_CSNSTR_BUFSIZE ];
                struct berval   csn;
 
                csn.bv_val = buf;