[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/05: MHD_get_connection_info(): fixed return value
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/05: MHD_get_connection_info(): fixed return value |
Date: |
Sun, 31 Oct 2021 15:41:58 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 291a148080109f6783630996803753f67787b17c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Oct 31 17:14:19 2021 +0300
MHD_get_connection_info(): fixed return value
Fixed return value for MHD_CONNECTION_INFO_CONNECTION_TIMEOUT.
---
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 e64bf8f8..8188d8dd 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -4818,7 +4818,7 @@ MHD_get_connection_info (struct MHD_Connection
*connection,
return (const union MHD_ConnectionInfo *) &connection->suspended_dummy;
case MHD_CONNECTION_INFO_CONNECTION_TIMEOUT:
connection->connection_timeout_dummy =
- (unsigned int) connection->connection_timeout_ms * 1000;
+ (unsigned int) connection->connection_timeout_ms / 1000;
return (const union MHD_ConnectionInfo *) &connection->
connection_timeout_dummy;
case MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.