diff mbox series

channel_curl: Remove leftover comment after 859be4a

Message ID 20211006141144.114905-1-christian.storm@siemens.com
State Accepted
Headers show
Series channel_curl: Remove leftover comment after 859be4a | expand

Commit Message

Storm, Christian Oct. 6, 2021, 2:11 p.m. UTC
Commit 859be4a "channel_curl: Add ability to define a set of custom HTTP
headers" splits header handling for sent and received headers. This
comment was only meaningful prior to this change, so remove it.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 corelib/channel_curl.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/corelib/channel_curl.c b/corelib/channel_curl.c
index 91e8d56..c3ea3f7 100644
--- a/corelib/channel_curl.c
+++ b/corelib/channel_curl.c
@@ -600,12 +600,6 @@  channel_op_res_t channel_set_options(channel_t *this, channel_data_t *channel_da
 	}
 
 	if (channel_data->received_headers) {
-		/*
-		 * Setup supply request and receive reply HTTP headers.
-		 * A LIST_INIT()'d dictionary is expected at channel_data->headers.
-		 * The dictionary is modified in-place with the received headers,
-		 * if any, by channel_callback_headers().
-		 */
 		if ((curl_easy_setopt(channel_curl->handle,
 			      CURLOPT_HEADERFUNCTION,
 			      channel_callback_headers) != CURLE_OK) ||