changeset 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 c08d81fa8117
children 660126bd5f59
files mncc/call_setup.c mncc/extsock.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
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)
--- a/mncc/extsock.c	Tue Jun 28 19:11:15 2022 -0800
+++ b/mncc/extsock.c	Tue Jun 28 19:21:51 2022 -0800
@@ -119,7 +119,7 @@
 	}
 	/* 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));
 	if (msg->msg_type == MNCC_REJ_REQ) {
 		extsock_dec_refcount(conn);
 		call->gc_flag = 1;
@@ -148,7 +148,7 @@
 	}
 	/* forward to GSM MNCC interface */
 	msg->callref = call->callref;
-	send_mncc_to_gsm(&msg, sizeof(struct gsm_mncc_rtp));
+	send_mncc_to_gsm(msg, sizeof(struct gsm_mncc_rtp));
 }
 
 void