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 wrap: on
line diff
--- a/src/online.c	Thu Dec 02 16:52:39 2010 -0300
+++ b/src/online.c	Thu Dec 02 17:11:25 2010 -0300
@@ -64,7 +64,7 @@
 	}
 	fclose(in);
 	waitpid(pid, &status, 0);
-	if (WEXITSTATUS(status) != EXIT_SUCCESS) {
+	if (WEXITSTATUS(status) != 0) {
 		g_free(name);
 		name = NULL;
 	}