diff --git a/include/libevconf.h b/include/libevconf.h index 285158b..b97fcd2 100644 --- a/include/libevconf.h +++ b/include/libevconf.h @@ -21,13 +21,13 @@ typedef struct { static inline int evconf_parse_config(const char *filename, ev_config *config) { - FILE *config = fopen(filename, "r"); - if (! config) { + FILE *file = fopen(filename, "r"); + if (! file) { return 1; } char line[MAX_LINE]; - while (fgets(line, sizeof(line), config)) { + while (fgets(line, sizeof(line), file)) { if (line[0] == "#" || line[0] == '\n') { continue; } @@ -51,7 +51,7 @@ int evconf_parse_config(const char *filename, ev_config *config) } } - fclose(config); + fclose(file); } static inline const