]> 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 a955b17161a42b375ec3dbb357e4971e39771bad..1a13a967f2e82df614fbf0fb2e06c0ec9444c57e 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT 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