X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/b90b52aed59ca92b957c0c27b16f223f11671ec3..7e032dc63479ed3d0b76fe71c05303fbe7dbc53a:/proxyscan/proxyscanext.c 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); }