diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_lib.h | 3 | ||||
-rw-r--r-- | include/apr_network_io.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h index bf34457e2..cb1dcedf5 100644 --- a/include/apr_lib.h +++ b/include/apr_lib.h @@ -170,6 +170,9 @@ APR_DECLARE(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *b), * @param bufsize The length of the password buffer. * @remark If the password entered must be truncated to fit in * the provided buffer, APR_ENAMETOOLONG will be returned. + * Note that the bufsize paramater is passed by reference for no + * reason; its value will never be modified by the apr_password_get() + * function. */ APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, apr_size_t *bufsize); diff --git a/include/apr_network_io.h b/include/apr_network_io.h index 0157a46b6..3e1475229 100644 --- a/include/apr_network_io.h +++ b/include/apr_network_io.h @@ -530,7 +530,9 @@ APR_DECLARE(apr_status_t) apr_socket_recvfrom(apr_sockaddr_t *from, * @remark This functions acts like a blocking write by default. To change * this behavior, use apr_socket_timeout_set() or the * APR_SO_NONBLOCK socket option. - * The number of bytes actually sent is stored in argument 5. + * The number of bytes actually sent is stored in the len parameter. + * The offset parameter is passed by reference for no reason; its + * value will never be modified by the apr_socket_sendfile() function. */ APR_DECLARE(apr_status_t) apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, |