X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/3f1af975911f8dc0423876a3f1679e599ea7f682..2af7cf5058dcf0f326292e32c52e04ff52bc1252:/proxyscan/proxyscanext.c?ds=sidebyside diff --git a/proxyscan/proxyscanext.c b/proxyscan/proxyscanext.c index 81e6871f..4bfd8d67 100644 --- a/proxyscan/proxyscanext.c +++ b/proxyscan/proxyscanext.c @@ -53,7 +53,7 @@ void loadextrascans() { unsigned char bits; patricia_node_t *node; - if ((fp=fopen("ports.txt","r"))==NULL) { + if ((fp=fopen("data/ports.txt","r"))==NULL) { Error("proxyscan",ERR_ERROR,"Unable to open ports file for reading!"); return; } @@ -89,6 +89,8 @@ void loadextrascans() { } } } + + fclose(fp); }