[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.
- [libmicrohttpd] branch master updated (b908403e -> 1907cc2b), gnunet, 2022/04/17
- [libmicrohttpd] 07/07: MHD_Connection: added 'const' qualifiers to some unmodifiable members,
gnunet <=
- [libmicrohttpd] 03/07: daemon: muted compiler warning, gnunet, 2022/04/17
- [libmicrohttpd] 06/07: connection: removed drop of 'const' qualifier, gnunet, 2022/04/17
- [libmicrohttpd] 02/07: configure: minor fix, gnunet, 2022/04/17
- [libmicrohttpd] 01/07: configure: fixed broken configure due to the missing value, gnunet, 2022/04/17
- [libmicrohttpd] 04/07: Refactoring: different types for response and request headers, gnunet, 2022/04/17
- [libmicrohttpd] 05/07: test_postprocessor_amp: fixed code style, gnunet, 2022/04/17