[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: MHD_get_connection_info(): fixed
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: MHD_get_connection_info(): fixed copying pointer instead of copying value |
Date: |
Thu, 25 May 2023 10:56:09 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 35c9e718 MHD_get_connection_info(): fixed copying pointer instead of
copying value
35c9e718 is described below
commit 35c9e7189e9167e8ba3db65fdf404691643ad695
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu May 25 11:51:46 2023 +0300
MHD_get_connection_info(): fixed copying pointer instead of copying value
---
src/microhttpd/connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 82b127b9..5899ffaf 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -5435,7 +5435,7 @@ MHD_get_connection_info (struct MHD_Connection
*connection,
memset (&connection->connection_info_dummy.client_addr, 0,
sizeof (connection->connection_info_dummy.client_addr));
memcpy (&connection->connection_info_dummy.client_addr,
- &connection->addr,
+ connection->addr,
(size_t) connection->addr_len);
return &connection->connection_info_dummy;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: MHD_get_connection_info(): fixed copying pointer instead of copying value,
gnunet <=