Commit 78f38e3c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Wrap verbose output dn with quotes.

parent 2ca45c44
......@@ -144,7 +144,8 @@ static int dodelete(
int rc;
if ( verbose ) {
printf( "%sdeleting entry %s\n", not ? "!" : "", dn );
printf( "%sdeleting entry \"%s\"\n",
(not ? "!" : ""), dn );
}
if ( not ) {
rc = LDAP_SUCCESS;
......@@ -152,7 +153,7 @@ static int dodelete(
if (( rc = ldap_delete_s( ld, dn )) != LDAP_SUCCESS ) {
ldap_perror( ld, "ldap_delete" );
} else if ( verbose ) {
printf( "entry removed\n" );
printf( "\tremoved\n" );
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment