]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[esl] Fix dead nested assignment in esl_recv_event()
authorAndrey Volk <andywolk@gmail.com>
Thu, 6 Jan 2022 13:39:31 +0000 (16:39 +0300)
committerAndrey Volk <andywolk@gmail.com>
Tue, 9 Aug 2022 20:19:01 +0000 (23:19 +0300)
libs/esl/src/esl.c

index e23144b9c0b45cc993896f10be190e062f00c798..825d89dd54f97b9108d1dc27e3c0e264ba7bc4c6 100644 (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);
                                }