diff --git a/src/capture.c b/src/capture.c index 8924974..6d19d3d 100644 --- a/src/capture.c +++ b/src/capture.c @@ -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); diff --git a/src/sip.c b/src/sip.c index 20a2d81..c8b1e2c 100644 --- a/src/sip.c +++ b/src/sip.c @@ -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