summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 6ac35ff..af40bff 100644
--- a/misc.c
+++ b/misc.c
@@ -161,7 +161,7 @@ char *skip_whitespace(const char *str) {
if (is_empty(str)) {
return NULL;
} else {
- const size_t span = strspn(str, " \t\v");
+ const size_t span = strspn(str, " \t\v\r\n");
return (char *)&str[span];
}
}