gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 07/07: MHD_Connection: added 'const' qualifiers to some


From: gnunet
Subject: [libmicrohttpd] 07/07: MHD_Connection: added 'const' qualifiers to some unmodifiable members
Date: Sun, 17 Apr 2022 14:27:04 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 1907cc2b1b72a0c5e79ed9f3314e686404cab5ae
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 16 14:56:42 2022 +0300

    MHD_Connection: added 'const' qualifiers to some unmodifiable members
---
 src/microhttpd/internal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index e3d9a433..50c1a1ec 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -999,7 +999,7 @@ struct MHD_Connection
   /**
    * Request method.  Should be GET/POST/etc.  Allocated in pool.
    */
-  char *method;
+  const char *method;
 
   /**
    * The request method as enum.
@@ -1016,7 +1016,7 @@ struct MHD_Connection
    * HTTP version string (i.e. http/1.1).  Allocated
    * in pool.
    */
-  char *version;
+  const char *version;
 
   /**
    * HTTP protocol version as enum.

-- 
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]