Mercurial > masqmail
diff src/connect.c @ 262:fc1c6425c024
s/EXIT_SUCCESS/0/ && s/EXIT_FAILURE/1/
The constants are all to bulky.
We should have different, meaningful exit codes anyway.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 02 Dec 2010 17:11:25 -0300 |
parents | a80ebfa16cd5 |
children | 41958685480d |
line wrap: on
line diff
--- a/src/connect.c Thu Dec 02 16:52:39 2010 -0300 +++ b/src/connect.c Thu Dec 02 17:11:25 2010 -0300 @@ -110,7 +110,7 @@ if (res_func_list == NULL) { logwrite(LOG_ALERT, "res_funcs == NULL !!!\n"); - exit(EXIT_FAILURE); + exit(1); } foreach(res_func_list, res_node) { @@ -120,7 +120,7 @@ if (res_func == NULL) { logwrite(LOG_ALERT, "res_func == NULL !!!\n"); - exit(EXIT_FAILURE); + exit(1); } errno = 0;