summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-26 14:58:36 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-09 15:35:30 +0000
commitc346f87371b5c03f2669add329a1f4962b3103bb (patch)
tree0e2d18eddcb8cfd3d4c0cc4f0ebec64ee4b233e9
parent8825c6940957fa2198d1f9995856e4232bc264fb (diff)
sgsn_test: Fix missing = in == type check
Change-Id: I696a7d25d2f4d19922e05a7e83c4aeec5c44fb07 Fixes: Coverity CID 135156
-rw-r--r--openbsc/tests/sgsn/sgsn_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c
index 789817c3c..e7b74585b 100644
--- a/openbsc/tests/sgsn/sgsn_test.c
+++ b/openbsc/tests/sgsn/sgsn_test.c
@@ -627,7 +627,7 @@ static void test_subscriber_gsup(void)
/* Inject InsertSubscrData GSUP message */
last_updated_subscr = NULL;
rc = rx_gsup_message(insert_data_req, sizeof(insert_data_req));
- OSMO_ASSERT(rc = -ENOTSUP); /* not connected */
+ OSMO_ASSERT(rc == -ENOTSUP); /* not connected */
OSMO_ASSERT(last_updated_subscr == s1);
/* Inject DeleteSubscrData GSUP message */