mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
FS-11785 [esl] dead assignments in esl_event_serialize
null attribute in esl_buffer_read null attribute in esl_event_base_add_header null attribute in esl_recv_event
This commit is contained in:
1 parent
c776680c56
commit
ca8fa0e1ff
3 files changed
+3
-5
No files matched your search
+1
-1
@@ -1459,7 +1459,7 @@ ESL_DECLARE(esl_status_t) esl_recv_event(esl_handle_t *handle, int check_q, esl_
|
||||
}
|
||||
}
|
||||
|
||||
if ((cl = esl_event_get_header(handle->last_ievent, "content-length"))) {
|
||||
if (beg && (cl = esl_event_get_header(handle->last_ievent, "content-length"))) {
|
||||
handle->last_ievent->body = strdup(beg);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user