diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-09-24 20:11:57 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-09-24 20:12:24 +0300 |
commit | 7f502256a226f6a2a2bc79c85ba51ea6eca829ec (patch) | |
tree | 9d1a077b8e38ddb4506f8c2a3e1fbdc0d3563dfc | |
parent | 421e485f4a781f0ad851a8d5bef8733ddd33f517 (diff) | |
download | libmicrohttpd-7f502256a226f6a2a2bc79c85ba51ea6eca829ec.tar.gz libmicrohttpd-7f502256a226f6a2a2bc79c85ba51ea6eca829ec.zip |
Minor fixes in microhttpd2.h
-rw-r--r-- | src/include/microhttpd2.h | 17 |
1 files 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); | |||
496 | * | 496 | * |
497 | * @param daemon daemon to set listen socket for | 497 | * @param daemon daemon to set listen socket for |
498 | * @param listen_socket listen socket to use, | 498 | * @param listen_socket listen socket to use, |
499 | * -1 will cause this call to be ignored (other | 499 | * MHD_INVALID_SOCKET value will cause this call to be |
500 | * binding options may still be effective) | 500 | * ignored (other binding options may still be effective) |
501 | */ | 501 | */ |
502 | _MHD_EXTERN void | 502 | _MHD_EXTERN void |
503 | MHD_daemon_listen_socket (struct MHD_Daemon *daemon, | 503 | MHD_daemon_listen_socket (struct MHD_Daemon *daemon, |
504 | int listen_socket); | 504 | MHD_socket listen_socket); |
505 | 505 | ||
506 | 506 | ||
507 | /** | 507 | /** |
@@ -1132,7 +1132,7 @@ enum MHD_HTTP_StatusCode { | |||
1132 | MHD_HTTP_LOOP_DETECTED = 508, | 1132 | MHD_HTTP_LOOP_DETECTED = 508, |
1133 | MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED = 509, | 1133 | MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED = 509, |
1134 | MHD_HTTP_NOT_EXTENDED = 510, | 1134 | MHD_HTTP_NOT_EXTENDED = 510, |
1135 | MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 511 | 1135 | MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511 |
1136 | 1136 | ||
1137 | }; | 1137 | }; |
1138 | /** @} */ /* end of group httpcode */ | 1138 | /** @} */ /* end of group httpcode */ |
@@ -1527,10 +1527,11 @@ MHD_response_add_header (struct MHD_Response *response, | |||
1527 | /** | 1527 | /** |
1528 | * Add a footer line to the response. | 1528 | * Add a footer line to the response. |
1529 | * | 1529 | * |
1530 | * @param response response to remove a header from | 1530 | * @param response response to add a footer to |
1531 | * @param footer the footer to delete | 1531 | * @param footer the footer to add |
1532 | * @param content value to delete | 1532 | * @param content value to add |
1533 | * @return #MHD_NO on error (i.e. invalid footer or content format). | 1533 | * @return #MHD_NO on error (i.e. invalid footer or content format), |
1534 | * or out of memory | ||
1534 | * @ingroup response | 1535 | * @ingroup response |
1535 | */ | 1536 | */ |
1536 | _MHD_EXTERN enum MHD_Bool | 1537 | _MHD_EXTERN enum MHD_Bool |