[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: Minor fixes in micro
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: Minor fixes in microhttpd2.h |
Date: |
Sun, 24 Sep 2017 19:14:47 +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 7f502256 Minor fixes in microhttpd2.h
7f502256 is described below
commit 7f502256a226f6a2a2bc79c85ba51ea6eca829ec
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Sep 24 20:11:57 2017 +0300
Minor fixes in microhttpd2.h
---
src/include/microhttpd2.h | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
index 887d17d0..49b866e1 100644
--- a/src/include/microhttpd2.h
+++ b/src/include/microhttpd2.h
@@ -496,12 +496,12 @@ MHD_daemon_listen_allow_address_reuse (struct MHD_Daemon
*daemon);
*
* @param daemon daemon to set listen socket for
* @param listen_socket listen socket to use,
- * -1 will cause this call to be ignored (other
- * binding options may still be effective)
+ * MHD_INVALID_SOCKET value will cause this call to be
+ * ignored (other binding options may still be effective)
*/
_MHD_EXTERN void
MHD_daemon_listen_socket (struct MHD_Daemon *daemon,
- int listen_socket);
+ MHD_socket listen_socket);
/**
@@ -1132,7 +1132,7 @@ enum MHD_HTTP_StatusCode {
MHD_HTTP_LOOP_DETECTED = 508,
MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED = 509,
MHD_HTTP_NOT_EXTENDED = 510,
- MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 511
+ MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511
};
/** @} */ /* end of group httpcode */
@@ -1527,10 +1527,11 @@ MHD_response_add_header (struct MHD_Response *response,
/**
* Add a footer line to the response.
*
- * @param response response to remove a header from
- * @param footer the footer to delete
- * @param content value to delete
- * @return #MHD_NO on error (i.e. invalid footer or content format).
+ * @param response response to add a footer to
+ * @param footer the footer to add
+ * @param content value to add
+ * @return #MHD_NO on error (i.e. invalid footer or content format),
+ * or out of memory
* @ingroup response
*/
_MHD_EXTERN enum MHD_Bool
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: Minor fixes in microhttpd2.h,
gnunet <=