aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-strsep.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-strsep.c')
-rw-r--r--test-strsep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-strsep.c b/test-strsep.c
index 4c57c13e..18bbb109 100644
--- a/test-strsep.c
+++ b/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);
}