Mercurial > 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 wrap: on
line diff
--- a/src/smtpsend.c Thu Dec 02 16:52:39 2010 -0300 +++ b/src/smtpsend.c Thu Dec 02 17:11:25 2010 -0300 @@ -101,7 +101,7 @@ if ((ret = accept_message(stdin, msg, ACC_DOT_IGNORE)) == AERR_OK) { if ((ret = smtp_deliver(server_name, server_port, resolve_list, msg, NULL, NULL)) == smtp_ok) { - exit(EXIT_SUCCESS); + exit(0); } fprintf(stderr, "deliver failed: %d\n", ret); }