]> git.sur5r.net Git - openldap/blobdiff - clients/ud/mod.c
modify ldap_dn2ufn() to return completely typeless UFNs
[openldap] / clients / ud / mod.c
index 826f3db52391d4deae6177a586a105991ce746c2..ecacefbe6d1a49a542ab3c086b90e0ddb9190799 100644 (file)
@@ -25,7 +25,6 @@
 #include <ac/string.h>
 #include <ac/time.h>
 
-#include <lber.h>
 #include <ldap.h>
 #include "ud.h"
 
@@ -397,7 +396,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