diff options
Diffstat (limited to 'src/repo.c')
-rw-r--r-- | src/repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ int og_repo_list(struct list_head *repo_list) name = dbi_result_get_string(result, "nombrerepositorio"); alias = dbi_result_get_ulonglong(result, "alias"); - if (inet_aton(ip, &addr) < 0) { + if (!inet_aton(ip, &addr)) { syslog(LOG_ERR, "malformed IP in repo %s\n", name); goto err_repo_list; } |