diff options
author | Erik Andersen | 2000-04-15 16:34:54 +0000 |
---|---|---|
committer | Erik Andersen | 2000-04-15 16:34:54 +0000 |
commit | 5e1189e187f6a7957dadb8eda2c271c4a0777a23 (patch) | |
tree | 140cd30d77342c730afbc1df863bec93c63978a8 /mnc.c | |
parent | 95c1c1e05f290ccbcc2ff863a62bcee5d57bf5c8 (diff) | |
download | busybox-5e1189e187f6a7957dadb8eda2c271c4a0777a23.zip busybox-5e1189e187f6a7957dadb8eda2c271c4a0777a23.tar.gz |
More documentation updates, and minor fixes to make things sync
up with the docs.
-Erik
Diffstat (limited to 'mnc.c')
-rw-r--r-- | mnc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -56,11 +56,11 @@ int mnc_main(int argc, char **argv) fd_set readfds, testfds; - if (argc <= 1 || **(argv + 1) == '-') { - usage(mnc_usage); - } argc--; argv++; + if (argc < 2 || **(argv + 1) == '-') { + usage(mnc_usage); + } sfd = socket(AF_INET, SOCK_STREAM, 0); |