masqmail

diff src/online.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 3708b655a371
children 1aa107c6b1e5
line diff
     1.1 --- a/src/online.c	Thu Dec 02 16:52:39 2010 -0300
     1.2 +++ b/src/online.c	Thu Dec 02 17:11:25 2010 -0300
     1.3 @@ -64,7 +64,7 @@
     1.4  	}
     1.5  	fclose(in);
     1.6  	waitpid(pid, &status, 0);
     1.7 -	if (WEXITSTATUS(status) != EXIT_SUCCESS) {
     1.8 +	if (WEXITSTATUS(status) != 0) {
     1.9  		g_free(name);
    1.10  		name = NULL;
    1.11  	}