Merge pull request #367 from signalwire/libnatpmp

[libnatpmp] scan-build: The left operand of '!=' is a garbage value
This commit is contained in:
Andrey Volk authored and GitHub committed 2020-02-16 00:08:46 +04:00
commit d32e7f1973
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ int sendnewportmappingrequest(natpmp_t * p, int protocol,
int readnatpmpresponse(natpmp_t * p, natpmpresp_t * response)
{
unsigned char buf[16];
struct sockaddr_in addr;
struct sockaddr_in addr = {0};
socklen_t addrlen = sizeof(addr);
int n;
if(!p)