summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index de2a793..3855bac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -171,7 +171,7 @@ strtok_ws (char *s)
char *nonws;
static char *last = NULL;
- if (s == NULL)
+ if (s != NULL)
last = s;
else if (last == NULL)
{