diff options
Diffstat (limited to 'src/outitf.c')
-rw-r--r-- | src/outitf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/outitf.c b/src/outitf.c index 9b913ae..a4f76d3 100644 --- a/src/outitf.c +++ b/src/outitf.c @@ -58,7 +58,6 @@ Modified: 2000 AlansFixes, 2013/2015 patch by Krzysztof Blaszkowski /* 27.May.2020 - BM - Added the following #include */ #ifdef __linux__ - #include <stdio.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> @@ -206,13 +205,14 @@ static void close_server() closesocket(sock); #endif } + + fclose(fptr); } #ifdef _WIN32 WSACleanup(); #endif - fclose(fptr); remove(ip_filename); } |