Browse Source

Once more: Try fix compile with clang

STABLE-2_1_x
Dirk Ziegelmeier 10 years ago
parent
commit
5d5eeca008
  1. 2
      src/api/api_msg.c

2
src/api/api_msg.c

@ -549,10 +549,12 @@ pcb_new(struct api_msg *msg)
LWIP_ASSERT("pcb_new: pcb already allocated", msg->conn->pcb.tcp == NULL);
#if LWIP_IPV6 && LWIP_IPV4
/* IPv6: Dual-stack by default, unless netconn_set_ipv6only() is called */
if(NETCONNTYPE_ISIPV6(netconn_type(msg->conn))) {
iptype = IPADDR_TYPE_ANY;
}
#endif
/* Allocate a PCB for this connection */
switch(NETCONNTYPE_GROUP(msg->conn->type)) {

Loading…
Cancel
Save