fix error of wrong matched parentheses in miniupnpc-libevent/miniupnpc-libevent.c
@@ -741,7 +741,7 @@ int upnpc_init(upnpc_t * p, struct event_base * base, const char * multicastif,
return UPNPC_ERR_SOCKET_FAILED;
}
/* set multicast TTL */
- if(setsockopt(p->ssdp_socket, IPPROTO_IP, IP_MULTICAST_TTL, &p->ttl, sizeof(p->ttl) < 0))
+ if(setsockopt(p->ssdp_socket, IPPROTO_IP, IP_MULTICAST_TTL, &p->ttl, sizeof(p->ttl)) < 0)
{
/* not a fatal error */
debug_printf("setsockopt(%d, ..., IP_MULTICAST_TTL, ...) FAILED\n", p->ssdp_socket);
