Replace strlen with unary_n to test zero length.

This commit is contained in:
noname 2015-02-22 19:37:48 +00:00 committed by sin
parent 7264acf7ed
commit 274f9eaf42
1 changed files with 1 additions and 1 deletions

2
test.c
View File

@ -100,7 +100,7 @@ noarg(char **argv)
static int static int
onearg(char **argv) onearg(char **argv)
{ {
return strlen(argv[0]); return unary_n(argv[0]);
} }
static int static int