Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
Increment line buffer size for conf file parsing
Browse files Browse the repository at this point in the history
Fixes #31 accounting for bigger lines (is this enough?)
  • Loading branch information
Andrea De Pasquale committed Jul 3, 2017
1 parent ec3a0b9 commit ab8e506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fw1-loggrabber.c
Original file line number Diff line number Diff line change
Expand Up @@ -4423,7 +4423,7 @@ void
read_config_file (char *filename, configvalues * cfgvalues)
{
FILE *configfile;
char line[256];
char line[4096];
char *position;
char *configparameter;
char *configvalue;
Expand Down Expand Up @@ -5547,4 +5547,4 @@ ThreadFuncReturnType leaRecordProcessor( void *data ){
}//end while

return 0;
}
}

0 comments on commit ab8e506

Please sign in to comment.