]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/jwhois-4.0-fclose.patch
strongswan: Update to 5.3.1
[ipfire-2.x.git] / src / patches / jwhois-4.0-fclose.patch
1 diff -up jwhois-4.0/src/init.c_old jwhois-4.0/src/init.c
2 --- jwhois-4.0/src/init.c_old 2007-06-26 08:59:17.000000000 +0200
3 +++ jwhois-4.0/src/init.c 2009-01-27 15:49:35.000000000 +0100
4 @@ -283,6 +283,8 @@ parse_args(int *argc, char ***argv)
5 if (in)
6 jconfig_parse_file(in);
7
8 + fclose(in);
9 +
10 if (verbose>1)
11 {
12 printf("[Debug: Cache = %s]\n", cache?"On":"Off");