[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] [PATCH] Correct incorrect prototype of MHD_create_respon
From: |
Aymeric Agon-Rambosson |
Subject: |
[libmicrohttpd] [PATCH] Correct incorrect prototype of MHD_create_response_from_pipe in Info documentation |
Date: |
Thu, 04 Jan 2024 03:51:26 +0100 |
User-agent: |
mu4e 1.10.7; emacs 29.1 |
Hello,
I noticed that the Info documentation of function
MHD_create_response_from_pipe is wrong. It takes only one
parameter (the file descriptor of the pipe), and not two.
Here is the simple patch that corrects this :
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index e1fc05bd..4701477b 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -2614,7 +2614,7 @@ Return @code{NULL} on error (i.e. invalid arguments, out
of memory).
@end deftypefun
-@deftypefun {struct MHD_Response *} MHD_create_response_from_pipe (uint64_t
size, int fd)
+@deftypefun {struct MHD_Response *} MHD_create_response_from_pipe (int fd)
Create a response object. The response object can be extended with
header information and then it can be used ONLY ONCE.
Best,
Aymeric Agon-Rambosson
P.S. Mr. Grin, sorry for the potential double reception, I was not
sure whether the mailing list would accept my email address.
- [libmicrohttpd] [PATCH] Correct incorrect prototype of MHD_create_response_from_pipe in Info documentation,
Aymeric Agon-Rambosson <=