]> git.sur5r.net Git - openldap/commitdiff
do not return a pointer to an automatic variable in case of success
authorPierangelo Masarati <ando@openldap.org>
Sat, 30 Mar 2002 08:44:29 +0000 (08:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 30 Mar 2002 08:44:29 +0000 (08:44 +0000)
servers/slapd/back-bdb/passwd.c

index a47cf180bc79c0b1abddf1a22da1a91ec905ba02..a05f22146c1d9f3605cc0a68a9e6f34a0f4c2b32 100644 (file)
@@ -216,6 +216,7 @@ retry:      /* transaction retry */
                        *text = NULL;
                        goto retry;
                case 0:
+                       *text = NULL;
                        break;
                default:
                        rc = LDAP_OTHER;