mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-27 06:14:15 -04:00
Fix inverted test
git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@316 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
@@ -1052,7 +1052,7 @@ int main(int argc, char** argv)
|
||||
for (;;) {
|
||||
int ldaperr = -1;
|
||||
res = connect();
|
||||
if (res) {
|
||||
if (!res) {
|
||||
fprintf(stderr, "Warning - Problem while connecting to LDAP server:\n\t%s\n", ldap_err2string(res));
|
||||
if (options.is_daemon==0)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user