From: Yann Ylavic Date: Tue, 14 Mar 2023 12:24:37 +0000 (+0000) Subject: util_time: Follow up to r1908383: ap_recent_ctime_ex() docx about trailing NUL. X-Git-Tag: 2.5.0-alpha2-ci-test-only~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f30882b0d5943eae6013f92650652aad4cd8add;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/include/util_time.h b/include/util_time.h index 6ba24a2e056..1ba6353c025 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,