]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/unbind.c
unifdef LDAP_SYNC and LDAP_SYNCREPL
[openldap] / servers / slapd / unbind.c
index 7515837d516bc95156a1279240e89b6b4fa79488..e3d73bf55e0c433ef5db615c24becbcaf1e9ac7c 100644 (file)
@@ -31,7 +31,7 @@ do_unbind( Operation *op, SlapReply *rs )
 {
 #ifdef NEW_LOGGING
        LDAP_LOG( OPERATION, ENTRY, 
-               "do_unbind: conn %d\n", op->o_connid : -1, 0, 0 );
+               "do_unbind: conn %d\n", op->o_connid ? op->o_connid : -1, 0, 0 );
 #else
        Debug( LDAP_DEBUG_TRACE, "do_unbind\n", 0, 0, 0 );
 #endif