forked from Mirrors/sngrep
cc: remove parameters from msg_create and capture_launch_thread definition #471
This commit is contained in:
parent
a4a2357355
commit
a64525441d
|
@ -1039,8 +1039,9 @@ capture_close()
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
capture_launch_thread(capture_info_t *capinfo)
|
capture_launch_thread()
|
||||||
{
|
{
|
||||||
|
capture_info_t *capinfo = NULL;
|
||||||
//! capture thread attributes
|
//! capture thread attributes
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
pthread_attr_init(&attr);
|
pthread_attr_init(&attr);
|
||||||
|
|
|
@ -349,7 +349,7 @@ sip_check_packet(packet_t *packet)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
// Create a new message from this data
|
// Create a new message from this data
|
||||||
if (!(msg = msg_create((const char*) payload)))
|
if (!(msg = msg_create()))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
// Get Method and request for the following checks
|
// Get Method and request for the following checks
|
||||||
|
|
Loading…
Reference in New Issue