diff --git a/servers/slapd/slapadd.c b/servers/slapd/slapadd.c index 9369d7c690..468dcea671 100644 --- a/servers/slapd/slapadd.c +++ b/servers/slapd/slapadd.c @@ -203,6 +203,7 @@ slapadd( int argc, char **argv ) if( continuemode ) continue; break; } + textbuf[ 0 ] = '\0'; } }