summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-26 14:58:36 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-26 17:10:29 +0100
commit7da7d468b5624f5862c9abd63babfb64f077f9ca (patch)
tree2be9e3180d35e75b9d890498f68073dea96abfee
parent84466b28f575166dea529effc0898d964f3d4d63 (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 */