diff options
Diffstat (limited to 'contrib/mdocml/test-strsep.c')
-rw-r--r-- | contrib/mdocml/test-strsep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mdocml/test-strsep.c b/contrib/mdocml/test-strsep.c index 4c57c13..18bbb10 100644 --- a/contrib/mdocml/test-strsep.c +++ b/contrib/mdocml/test-strsep.c @@ -6,5 +6,5 @@ main(void) char buf[6] = "aybxc"; char *workp = buf; char *retp = strsep(&workp, "xy"); - return( ! (retp == buf && '\0' == buf[1] && buf + 2 == workp)); + return ! (retp == buf && buf[1] == '\0' && workp == buf + 2); } |