Skip to content
Snippets Groups Projects
Commit a3846b16 authored by rswindell's avatar rswindell
Browse files

Bug fix: parsing services.cfg, >1 white-space was required before port number.

parent 08ede81a
No related branches found
No related tags found
No related merge requests found
......@@ -907,7 +907,7 @@ static BOOL read_services_cfg(void)
*tp=0;
sprintf(service[services].protocol,"%.*s",sizeof(service[0].protocol),p);
p=tp+1;
NEXT_FIELD(p);
while(*p && *p<=' ') p++;
service[services].port=atoi(p);
NEXT_FIELD(p);
service[services].max_clients=strtol(p,NULL,10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment