mgcp/test: Fix mgcp-transcoding assertion (Coverity)

In test_rtp_seq_state an assignment is accidently done within an
assertion.

This commit changes that into a comparison as it was intended.

Fixes: Coverity CID 1295457, 1295458
Sponsored-by: On-Waves ehf
This commit is contained in:
Jacob Erlbeck 2015-04-27 09:13:48 +02:00 committed by Holger Hans Peter Freyther
parent 5a2484b10e
commit ddc0e05604
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ static void test_rtp_seq_state(void)
OSMO_ASSERT(cont >= 0);
OSMO_ASSERT(state->is_running);
OSMO_ASSERT(state->next_seq == 2);
OSMO_ASSERT(state->next_time = 240);
OSMO_ASSERT(state->next_time == 240);
/* verify that the right timestamp was written */
OSMO_ASSERT(len == audio_packets_pcma[0].len);