-#ifdef NEW_LOGGING
- LDAP_LOG( OPERATION, ERR,
- "conn: %d do_abandon: ber_scanf failed\n", op->o_connid, 0, 0 );
-#else
- Debug( LDAP_DEBUG_ANY, "do_abandon: ber_scanf failed\n", 0, 0 ,0 );
-#endif
- send_ldap_discon( op, rs,
- LDAP_PROTOCOL_ERROR, "decoding error" );
- return -1;
+ Debug( LDAP_DEBUG_ANY, "%s do_abandon: ber_scanf failed\n",
+ op->o_log_prefix, 0, 0 );
+ send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
+ return SLAPD_DISCONNECT;