diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-07 14:23:31 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-07 14:23:31 -0400 |
commit | 27a019af986edfcc9b50b3e322bdb7a25a41c205 (patch) | |
tree | 51510e9f179bdb2001f8330dbdb92a5d33cb053f | |
parent | 6e94471bf7c603778d87cff4a9b613c1f8572d8d (diff) |
ord.c: More strictly check the number of arguments to
-rw-r--r-- | ord.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ int main (int argc, char* argv[]) { - if (argc<2) { return 1; } + if (argc != 2) { return 1; } int i = 0; char* delim = ""; |