updated miniupnpc
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user