diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-30 09:56:25 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-30 09:56:25 +0200 |
commit | 7da99055891baaa453d7d575985bc9824cf5f47c (patch) | |
tree | 95471106647425de916ca4595c145ef0464ea624 /external/miniupnpc/wingenminiupnpcstrings.c | |
parent | Merge pull request #575 (diff) | |
download | monero-7da99055891baaa453d7d575985bc9824cf5f47c.tar.xz |
updated miniupnpc
Diffstat (limited to '')
-rw-r--r-- | external/miniupnpc/wingenminiupnpcstrings.c | 5 |
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; |