Mercurial > masqmail
diff src/connect.c @ 369:19d57eb1b6a1
Minor refactoring change (else-if).
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 20 Oct 2011 10:23:47 +0200 |
parents | b27f66555ba8 |
children | 6500db550a03 |
line wrap: on
line diff
--- a/src/connect.c Thu Oct 20 10:22:40 2011 +0200 +++ b/src/connect.c Thu Oct 20 10:23:47 2011 +0200 @@ -139,10 +139,8 @@ } g_list_free(addr_list); - } else { - if (!g_list_next(res_node)) { - logwrite(LOG_ALERT, "could not resolve %s: %s\n", host, hstrerror(h_errno)); - } + } else if (!g_list_next(res_node)) { + logwrite(LOG_ALERT, "could not resolve %s: %s\n", host, hstrerror(h_errno)); } } return NULL;