aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc/wingenminiupnpcstrings.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/miniupnpc/wingenminiupnpcstrings.c')
-rw-r--r--external/miniupnpc/wingenminiupnpcstrings.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/external/miniupnpc/wingenminiupnpcstrings.c b/external/miniupnpc/wingenminiupnpcstrings.c
index fd9ee061d..50df06a76 100644
--- a/external/miniupnpc/wingenminiupnpcstrings.c
+++ b/external/miniupnpc/wingenminiupnpcstrings.c
@@ -1,8 +1,8 @@
-/* $Id: wingenminiupnpcstrings.c,v 1.2 2011/01/11 15:31:13 nanard Exp $ */
+/* $Id: wingenminiupnpcstrings.c,v 1.4 2015/02/08 08:46:06 nanard Exp $ */
/* Project: miniupnp
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* Author: Thomas Bernard
- * Copyright (c) 2005-2009 Thomas Bernard
+ * Copyright (c) 2005-2015 Thomas Bernard
* This software is subjects to the conditions detailed
* in the LICENSE file provided within this distribution */
#include <stdio.h>
@@ -59,6 +59,7 @@ int main(int argc, char * * argv) {
fout = fopen(argv[2], "w");
if(!fout) {
fprintf(stderr, "Cannot open %s for writing.\n", argv[2]);
+ fclose(fin);
return 1;
}
n = 0;