mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 10:42:25 +00:00
Fix potential infinite loop in loginserver's config file reader
This commit is contained in:
parent
3cc7d0db63
commit
d305d67279
@ -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