]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
util_time: Follow up to r1908383: ap_recent_ctime_ex() docx about trailing NUL.
authorYann Ylavic <ylavic@apache.org>
Tue, 14 Mar 2023 12:24:37 +0000 (12:24 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 14 Mar 2023 12:24:37 +0000 (12:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908384 13f79535-47bb-0310-9956-ffa450edef68

include/util_time.h

index 6ba24a2e0566da571b9c95839fe92a97172fa8df..1ba6353c0253d90a86a94466d480343b4e856c49 100644 (file)
@@ -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,