connection.c
changeset 48 b94d657a9acb
parent 29 7abf6146898e
child 77 49e0babccb23
--- a/connection.c
+++ b/connection.c
@@ -55,7 +55,7 @@
 
     if (argc != 3) {
         printf ("Usage: %s <ipaddr> <port>\n", argv[0]);
-        return EXIT_SUCCESS;
+        return EXIT_FAILURE;
     }
 
     if ((sockfd = connection (argv[1], atoi (argv[2]))) < 0) {