Replace strlen with unary_n to test zero length.
This commit is contained in:
parent
7264acf7ed
commit
274f9eaf42
2
test.c
2
test.c
@ -100,7 +100,7 @@ noarg(char **argv)
|
||||
static int
|
||||
onearg(char **argv)
|
||||
{
|
||||
return strlen(argv[0]);
|
||||
return unary_n(argv[0]);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user