fix previous commit

This commit is contained in:
Pierangelo Masarati 2011-01-03 23:37:48 +00:00
parent 4e515a8a65
commit a2df1c60ff

View File

@ -268,7 +268,7 @@ main( int argc, char *argv[] )
goto skip; goto skip;
} }
if (!rcode) { if (rcode != LDAP_SUCCESS) {
printf(_("Failed: %s (%d)\n"), ldap_err2string(rcode), rcode); printf(_("Failed: %s (%d)\n"), ldap_err2string(rcode), rcode);
} }