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

Fix double-fclose() assertion in qwk_route() reported by echto. Thanks!

parent 733633a0
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,6 @@ int sbbs_t::qwk_route(char *inaddr, char *fulladdr) ...@@ -151,7 +151,6 @@ int sbbs_t::qwk_route(char *inaddr, char *fulladdr)
if(!fgets(str,256,stream)) if(!fgets(str,256,stream))
break; break;
if(!strnicmp(str+9,node,strlen(node))) { if(!strnicmp(str+9,node,strlen(node))) {
fclose(stream);
truncsp(str); truncsp(str);
sprintf(fulladdr,"%s/%s",str+9+strlen(node),inaddr); sprintf(fulladdr,"%s/%s",str+9+strlen(node),inaddr);
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment