mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
fix test_sockets_msgapi_cmsg unit test (msvc gives me "warning C4706: assignment within conditional expression")
This commit is contained in:
parent
eb269e61b5
commit
842a235a68
@ -524,7 +524,7 @@ static void test_sockets_msgapi_cmsg(int domain)
|
||||
fail_unless(cmsg != NULL);
|
||||
fail_unless(cmsg->cmsg_len > 0);
|
||||
fail_unless(cmsg->cmsg_level == IPPROTO_IP);
|
||||
fail_unless(cmsg->cmsg_type = IP_PKTINFO);
|
||||
fail_unless(cmsg->cmsg_type == IP_PKTINFO);
|
||||
|
||||
/* Verify message data */
|
||||
pktinfo = (struct in_pktinfo*)CMSG_DATA(cmsg);
|
||||
|
Loading…
Reference in New Issue
Block a user