mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	client: use string as connection identifier
The test that tests the cancelation of a pending mgcp message uses an integer as connection identifier, which leads to a segfault since connection identifiers are represented as strings. Use a string as connection identifier. Change-Id: I395a23c1828cf216031d69d481ad35dd458ee7d4
This commit is contained in:
		@@ -236,7 +236,7 @@ void test_mgcp_client_cancel()
 | 
				
			|||||||
		.endpoint = "23@mgw",
 | 
							.endpoint = "23@mgw",
 | 
				
			||||||
		.audio_port = 1234,
 | 
							.audio_port = 1234,
 | 
				
			||||||
		.call_id = 47,
 | 
							.call_id = 47,
 | 
				
			||||||
		.conn_id = 11,
 | 
							.conn_id = "11",
 | 
				
			||||||
		.conn_mode = MGCP_CONN_RECV_SEND,
 | 
							.conn_mode = MGCP_CONN_RECV_SEND,
 | 
				
			||||||
		.presence = (MGCP_MSG_PRESENCE_ENDPOINT | MGCP_MSG_PRESENCE_CALL_ID
 | 
							.presence = (MGCP_MSG_PRESENCE_ENDPOINT | MGCP_MSG_PRESENCE_CALL_ID
 | 
				
			||||||
			     | MGCP_MSG_PRESENCE_CONN_ID | MGCP_MSG_PRESENCE_CONN_MODE),
 | 
								     | MGCP_MSG_PRESENCE_CONN_ID | MGCP_MSG_PRESENCE_CONN_MODE),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user