From: Howard Chu Date: Thu, 3 Apr 2003 01:59:08 +0000 (+0000) Subject: Fix return of DB error code to LDAP client X-Git-Tag: AUTOCONF_2_57~107 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=adefd27c44c88d7554413981f554cb6bb23ec15b;p=openldap Fix return of DB error code to LDAP client --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 1d60bfe8f7..2f1df81bda 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -384,9 +384,9 @@ retry: /* transaction retry */ goto return_results; default: rs->sr_err = LDAP_OTHER; + rs->sr_text = "internal error"; + goto return_results; } - rs->sr_text = "internal error"; - goto return_results; } /* acquire and lock entry */