diff mncc/call_setup.c @ 27:c6572f4c31d2

themwi-mncc: fix bug in forwarding from call socket to GSM
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 Jun 2022 19:21:51 -0800
parents ccc5ab6d8388
children 660126bd5f59
line wrap: on
line diff
--- a/mncc/call_setup.c	Tue Jun 28 19:11:15 2022 -0800
+++ b/mncc/call_setup.c	Tue Jun 28 19:21:51 2022 -0800
@@ -207,7 +207,7 @@
 	call->socket_ref = msg->callref;
 	/* forward to GSM MNCC interface */
 	msg->callref = call->callref;
-	send_mncc_to_gsm(&msg, sizeof(struct gsm_mncc));
+	send_mncc_to_gsm(msg, sizeof(struct gsm_mncc));
 }
 
 preen_connected_number(msg)