aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c
index cd7e672..c8acbbe 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -77,7 +77,7 @@ void parse_config()
head = ++tail;
continue;
}
- else if (*tail == '=')
+ else if (*tail == '=' && !key)
{
key = head;
*tail = '\0';