From 2a0880578358c0e0f4df595c417a62dfc45cd418 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 28 Apr 2015 09:01:30 +0200 Subject: [PATCH] minissdp.c: Dont try to close sockets with fd=-1 fixes #112 --- miniupnpd/minissdp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniupnpd/minissdp.c b/miniupnpd/minissdp.c index 9fff6d9..3033dcb 100644 --- a/miniupnpd/minissdp.c +++ b/miniupnpd/minissdp.c @@ -1169,6 +1169,8 @@ SendSSDPGoodbye(int * sockets, int n_sockets) for(j=0; j