From 8d08346c60993664d53fc38108fc8f9970f9b9b1 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 9 Jul 2015 12:28:05 +0200 Subject: [PATCH] pcpserver.c: Don't overwrite lifetime. fix #131 --- miniupnpd/pcpserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/pcpserver.c b/miniupnpd/pcpserver.c index d4ed2c6..57a5a77 100644 --- a/miniupnpd/pcpserver.c +++ b/miniupnpd/pcpserver.c @@ -967,7 +967,7 @@ static int CreatePCPMap_NAT(pcp_info_t *pcp_msg_info) pcp_msg_info->protocol, iaddr_old, sizeof(iaddr_old), &iport_old, 0, 0, 0, 0, - ×tamp, 0, 0); + NULL/*×tamp*/, 0, 0); if(r==0) { if((strcmp(pcp_msg_info->mapped_str, iaddr_old)!=0)