]> git.sur5r.net Git - openldap/blobdiff - clients/ud/mod.c
Round one of LDAP_F() macro changes. In this round we rename
[openldap] / clients / ud / mod.c
index 826f3db52391d4deae6177a586a105991ce746c2..1a13a967f2e82df614fbf0fb2e06c0ec9444c57e 100644 (file)
@@ -397,7 +397,7 @@ get_value( char *id, char *prompt )
         *  Other attributes may not.
         */
        count = 1;
-       (void) memset(buffer, 0, sizeof(buffer));
+       (void) memset(buffer, '\0', sizeof(buffer));
 #ifdef UOFM
        if (!strcmp(id, "postalAddress") || !strcmp(id, "homePostalAddress") || !strcmp(id, "multiLineDescription") || !strcmp(id, "vacationMessage")) 
 #else