From 8f30882b0d5943eae6013f92650652aad4cd8add Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 14 Mar 2023 12:24:37 +0000 Subject: util_time: Follow up to r1908383: ap_recent_ctime_ex() docx about trailing NUL. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908384 13f79535-47bb-0310-9956-ffa450edef68 --- include/util_time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/util_time.h b/include/util_time.h index 6ba24a2e05..1ba6353c02 100644 --- a/include/util_time.h +++ b/include/util_time.h @@ -97,7 +97,7 @@ AP_DECLARE(apr_status_t) ap_recent_ctime(char *date_str, apr_time_t t); * @param option Additional formatting options (AP_CTIME_OPTION_*). * @param len Pointer to an int containing the length of the provided buffer. * On successful return it contains the number of bytes written to the - * buffer. + * buffer (including trailing NUL byte). * @return APR_SUCCESS iff successful, APR_ENOMEM if buffer was to short. */ AP_DECLARE(apr_status_t) ap_recent_ctime_ex(char *date_str, apr_time_t t, -- cgit v1.2.1