cc: remove parameters from msg_create and capture_launch_thread definition #471

This commit is contained in:
Kaian 2023-12-20 10:27:51 +01:00
parent a4a2357355
commit a64525441d
2 changed files with 3 additions and 2 deletions

View File

@ -1039,8 +1039,9 @@ capture_close()
}
int
capture_launch_thread(capture_info_t *capinfo)
capture_launch_thread()
{
capture_info_t *capinfo = NULL;
//! capture thread attributes
pthread_attr_t attr;
pthread_attr_init(&attr);

View File

@ -349,7 +349,7 @@ sip_check_packet(packet_t *packet)
return NULL;
// Create a new message from this data
if (!(msg = msg_create((const char*) payload)))
if (!(msg = msg_create()))
return NULL;
// Get Method and request for the following checks