mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-21 19:02:06 +00:00
Merge pull request #367 from signalwire/libnatpmp
[libnatpmp] scan-build: The left operand of '!=' is a garbage value
This commit is contained in:
commit
d32e7f1973
@ -195,7 +195,7 @@ int sendnewportmappingrequest(natpmp_t * p, int protocol,
|
|||||||
int readnatpmpresponse(natpmp_t * p, natpmpresp_t * response)
|
int readnatpmpresponse(natpmp_t * p, natpmpresp_t * response)
|
||||||
{
|
{
|
||||||
unsigned char buf[16];
|
unsigned char buf[16];
|
||||||
struct sockaddr_in addr;
|
struct sockaddr_in addr = {0};
|
||||||
socklen_t addrlen = sizeof(addr);
|
socklen_t addrlen = sizeof(addr);
|
||||||
int n;
|
int n;
|
||||||
if(!p)
|
if(!p)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user