diff options
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ static int parse_colon_key_value_file(void *ret, void *ctx, const keyword **keyw lhs = strtok_r(lhs, " \t\v\r\n", &rhs); /* Did we hit EOF? */ - if (lhs == NULL) { + if (is_empty(lhs) || is_empty(buf)) { break; } else { int error; |