mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
Merge pull request #581 from SCMcLaughlin/master
Fix potential infinite loop in loginserver's config file reader
This commit is contained in:
commit
ac0332c020
@ -144,7 +144,7 @@ void Config::Parse(const char *file_name)
|
||||
*/
|
||||
void Config::Tokenize(FILE *input, std::list<std::string> &tokens)
|
||||
{
|
||||
char c = fgetc(input);
|
||||
int c = fgetc(input);
|
||||
std::string lexeme;
|
||||
|
||||
while(c != EOF)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user