[esl] Fix dead nested assignment in esl_recv_event()

This commit is contained in:
Andrey Volk 2022-01-06 16:39:31 +03:00
parent a7740c3cf4
commit e53e8a17c1
1 changed files with 1 additions and 1 deletions

View File

@ -1444,7 +1444,7 @@ ESL_DECLARE(esl_status_t) esl_recv_event(esl_handle_t *handle, int check_q, esl_
}
}
if (beg && (cl = esl_event_get_header(handle->last_ievent, "content-length"))) {
if (beg && esl_event_get_header(handle->last_ievent, "content-length")) {
handle->last_ievent->body = strdup(beg);
}