]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/unbind.c
Don't reeval expression
[openldap] / servers / slapd / back-shell / unbind.c
index a4327f99e2066b2f73b64e6817528140de3aa30e..d5d936106e6a865b083709476c271dd7545e8e6e 100644 (file)
@@ -25,7 +25,7 @@ shell_back_unbind(
        struct shellinfo        *si = (struct shellinfo *) be->be_private;
        FILE                    *rfp, *wfp;
 
-       if ( IS_NULLCMD( si->si_unbind ) ) {
+       if ( si->si_unbind == NULL ) {
                return 0;
        }
 
@@ -36,7 +36,6 @@ shell_back_unbind(
 
        /* write out the request to the unbind process */
        fprintf( wfp, "UNBIND\n" );
-       fprintf( wfp, "opid: %ld/%ld\n", op->o_connid, (long) op->o_msgid );
        fprintf( wfp, "msgid: %ld\n", (long) op->o_msgid );
        print_suffixes( wfp, be );
        fprintf( wfp, "dn: %s\n", (conn->c_dn.bv_len ? conn->c_dn.bv_val : "") );