aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index 680a5fb1c..919502529 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -210,7 +210,7 @@ static ConfigParam *readConfigBlock(FILE * fp, int *count, char *string)
int numberOfArgs;
int argsMinusComment;
- while (myFgets(string, MAX_STRING_SIZE, fp)) {
+ while (fgets(string, MAX_STRING_SIZE, fp)) {
char *array[CONF_LINE_TOKEN_MAX] = { NULL };
(*count)++;
@@ -270,8 +270,9 @@ void readConf(const char *file)
strerror(errno));
}
- while (myFgets(string, MAX_STRING_SIZE, fp)) {
+ while (fgets(string, MAX_STRING_SIZE, fp)) {
char *array[CONF_LINE_TOKEN_MAX] = { NULL };
+
count++;
numberOfArgs = buffer2array(string, array, CONF_LINE_TOKEN_MAX);