aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 333cd65e6..ccc130030 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -481,7 +481,7 @@ try_next_line:
do {
*s = 0;
s--;
- } while (isspace(*s));
+ } while (s >= line && isspace(*s));
key = line;
while(isspace(*key))