aboutsummaryrefslogtreecommitdiffstats
path: root/service/src
diff options
context:
space:
mode:
Diffstat (limited to 'service/src')
-rw-r--r--service/src/stlfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/stlfile.c b/service/src/stlfile.c
index bddb24f..7c067f3 100644
--- a/service/src/stlfile.c
+++ b/service/src/stlfile.c
@@ -83,7 +83,7 @@ consume_arg(char **start, char **end)
if (!*start) return NULL;
for (c = *start; *c && !isws(*c); c++);
tmp = *start;
- *start = c + 1;
+ *start = c + (*c ? 1 : 0);
*end = c;
return tmp;
}