aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/fics_addplayer.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c
index d3fb662..3da7010 100644
--- a/FICS/fics_addplayer.c
+++ b/FICS/fics_addplayer.c
@@ -80,17 +80,18 @@ main(int argc, char *argv[])
break;
}
} else {
- if (!funame)
+ if (funame == NULL)
funame = argv[i];
- else if (!fname)
+ else if (fname == NULL)
fname = argv[i];
- else if (!email)
+ else if (email == NULL)
email = argv[i];
else
usage(argv[0]);
}
}
- if (!funame || !fname || !email)
+
+ if (funame == NULL || fname == NULL || email == NULL)
usage(argv[0]);
/* Add the player here */