Comparing array address with 0 is not useful, use strlen() instead
This commit is contained in:
parent
61289d42fb
commit
24307d2951
|
@ -185,7 +185,7 @@ OpenAndConfSSDPReceiveSocket(int ipv6)
|
|||
{
|
||||
syslog(LOG_WARNING,
|
||||
"Failed to add multicast membership for interface %s",
|
||||
lan_addr->str ? lan_addr->str : "NULL");
|
||||
strlen(lan_addr->str) ? lan_addr->str : "NULL");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue