summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-07 14:23:31 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-07 14:23:31 -0400
commit27a019af986edfcc9b50b3e322bdb7a25a41c205 (patch)
tree51510e9f179bdb2001f8330dbdb92a5d33cb053f
parent6e94471bf7c603778d87cff4a9b613c1f8572d8d (diff)
ord.c: More strictly check the number of arguments to
-rw-r--r--ord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ord.c b/ord.c
index fd2eadf..b0957ff 100644
--- a/ord.c
+++ b/ord.c
@@ -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 = "";