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 diff
     1.1 --- a/src/connect.c	Thu Dec 02 16:52:39 2010 -0300
     1.2 +++ b/src/connect.c	Thu Dec 02 17:11:25 2010 -0300
     1.3 @@ -110,7 +110,7 @@
     1.4  
     1.5  	if (res_func_list == NULL) {
     1.6  		logwrite(LOG_ALERT, "res_funcs == NULL !!!\n");
     1.7 -		exit(EXIT_FAILURE);
     1.8 +		exit(1);
     1.9  	}
    1.10  
    1.11  	foreach(res_func_list, res_node) {
    1.12 @@ -120,7 +120,7 @@
    1.13  
    1.14  		if (res_func == NULL) {
    1.15  			logwrite(LOG_ALERT, "res_func == NULL !!!\n");
    1.16 -			exit(EXIT_FAILURE);
    1.17 +			exit(1);
    1.18  		}
    1.19  
    1.20  		errno = 0;