Skip to content
Snippets Groups Projects
Commit 6e718391 authored by deuce's avatar deuce
Browse files

Do not list FTP URLs in server lists.

parent ce507dbf
No related branches found
No related tags found
No related merge requests found
......@@ -806,6 +806,8 @@ get_distlist(void)
tp=p;
while(*tp && *tp>' ') tp++;
*tp=0; /* truncate address at first whitespace */
if(!strncasecmp(p,"ftp://",6))
break;
SAFECOPY(server[s]->addr,p);
p=tp+1;
while(*p && *p<=' ') p++; /* desc follows whitepsace */
......
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