Skip to content

Commit

Permalink
Merge pull request #431 from r00t0vi4/patch-1
Browse files Browse the repository at this point in the history
Update config.c

Signed-off-by: DL6ER <dl6er@dl6er.de>
  • Loading branch information
AzureMarker authored and DL6ER committed Dec 14, 2018
1 parent d42bcb7 commit 53a93f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ void getpath(FILE* fp, const char *option, const char *defaultloc, char **pointe
// option: Option string ("key") to try to read
// defaultloc: Value used if key is not found in file
// pointer: Location where read (or default) parameter is stored
char *buffer = parse_FTLconf(fp, "PIDFILE");
char *buffer = parse_FTLconf(fp, option);

errno = 0;
// Use sscanf() to obtain filename from config file parameter only if buffer != NULL
Expand Down

0 comments on commit 53a93f7

Please sign in to comment.