Skip to content

Commit

Permalink
Fix main10 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tupakaveli committed Aug 20, 2019
1 parent 3cb4707 commit 38e50a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ static int parsePrefix(char *line, char *prefix)
if (colpos && colpos != line) {
// copy the name and the value
strncpy(prefix, line, colpos - line);
prefix[colpos - line] = 0;

return 1;
} else {
Expand Down

0 comments on commit 38e50a0

Please sign in to comment.