summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/mgcp/mgcp_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/tests/mgcp/mgcp_test.c')
-rw-r--r--openbsc/tests/mgcp/mgcp_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c
index 4927027..32f2fd6 100644
--- a/openbsc/tests/mgcp/mgcp_test.c
+++ b/openbsc/tests/mgcp/mgcp_test.c
@@ -251,6 +251,7 @@ static void test_compress_one(const struct estate *edata, char *t)
INIT_LLIST_HEAD(&list);
+ state = edata->state;
if (rtp_decompress(&state, &list, out) != 0) {
fprintf(stderr, "Failed to decompress the code.\n");
abort();