pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44097?usp=email ) Change subject: tests/socket: Fix typo in assert ...................................................................... tests/socket: Fix typo in assert Related: Coverity CID#566068 Fixes: f485047b5704d8a67df71a96bc0f0838130e8657 Change-Id: Id4c52478b15ae6d518b88aa8e25b5c629017860f --- M tests/socket/socket_test.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/97/44097/1 diff --git a/tests/socket/socket_test.c b/tests/socket/socket_test.c index ed315b3..a103db5 100644 --- a/tests/socket/socket_test.c +++ b/tests/socket/socket_test.c @@ -463,7 +463,7 @@ rc = osmo_sockaddr_pton("0.0.0.0", sa); OSMO_ASSERT(rc == 1); - OSMO_ASSERT(osa.u.sa.sa_family = AF_INET); + OSMO_ASSERT(osa.u.sa.sa_family == AF_INET); OSMO_ASSERT(osa.u.sin.sin_addr.s_addr == 0); rc = osmo_sockaddr_pton("255.255.255.255", sa); -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44097?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Id4c52478b15ae6d518b88aa8e25b5c629017860f Gerrit-Change-Number: 44097 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de>