]> git.sur5r.net Git - openldap/commitdiff
Handle plugin returning no modifications in slapi_x_ldapmods2modifications()
authorLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 17:33:37 +0000 (17:33 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 17:33:37 +0000 (17:33 +0000)
servers/slapd/slapi/slapi_utils.c

index 8a6b604cafbf6ec245e886ffff33b44757aea039..702042fbc773f9a1b16401af162c3149e1e6247d 100644 (file)
@@ -3204,7 +3204,7 @@ LDAPMod **slapi_x_modifications2ldapmods(Modifications **pmodlist)
 Modifications *slapi_x_ldapmods2modifications (LDAPMod **mods)
 {
 #ifdef LDAP_SLAPI
-       Modifications *modlist, **modtail;
+       Modifications *modlist = NULL, **modtail;
        LDAPMod **modp;
 
        modtail = &modlist;