parent
ad359d7a04
commit
0dccd8d373
|
@ -1005,6 +1005,8 @@ servlist_load (void)
|
|||
while (fgets (buf, sizeof (buf) - 2, fp))
|
||||
{
|
||||
len = strlen (buf);
|
||||
if (!len)
|
||||
continue;
|
||||
buf[len] = 0;
|
||||
buf[len-1] = 0; /* remove the trailing \n */
|
||||
if (net)
|
||||
|
|
Loading…
Reference in New Issue