gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 06/07: connection: removed drop of 'const' qualifier


From: gnunet
Subject: [libmicrohttpd] 06/07: connection: removed drop of 'const' qualifier
Date: Sun, 17 Apr 2022 14:27:03 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 36cf2f2d2a40f4fea9fb6a910b7ab48a5dae9ce6
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 16 14:28:08 2022 +0300

    connection: removed drop of 'const' qualifier
---
 src/microhttpd/connection.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 798c285c..36e74900 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -486,9 +486,9 @@ MHD_set_connection_value_n_nocheck_ (struct MHD_Connection 
*connection,
                                  sizeof (struct MHD_HTTP_Res_Header));
   if (NULL == pos)
     return MHD_NO;
-  pos->header = (char *) key;
+  pos->header = key;
   pos->header_size = key_size;
-  pos->value = (char *) value;
+  pos->value = value;
   pos->value_size = value_size;
   pos->kind = kind;
   pos->next = NULL;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]