masqmail

diff src/smtpsend.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 c678d0342451
children b27f66555ba8
line diff
     1.1 --- a/src/smtpsend.c	Thu Dec 02 16:52:39 2010 -0300
     1.2 +++ b/src/smtpsend.c	Thu Dec 02 17:11:25 2010 -0300
     1.3 @@ -101,7 +101,7 @@
     1.4  
     1.5  		if ((ret = accept_message(stdin, msg, ACC_DOT_IGNORE)) == AERR_OK) {
     1.6  			if ((ret = smtp_deliver(server_name, server_port, resolve_list, msg, NULL, NULL)) == smtp_ok) {
     1.7 -				exit(EXIT_SUCCESS);
     1.8 +				exit(0);
     1.9  			}
    1.10  			fprintf(stderr, "deliver failed: %d\n", ret);
    1.11  		}