diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-03-14 13:24:37 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-03-14 13:24:37 +0100 |
commit | 8f30882b0d5943eae6013f92650652aad4cd8add (patch) | |
tree | 17f54a5f8cf188e6d304acb5dc2adf78b03c1f8d /include/util_time.h | |
parent | util_time: Note/comments about ap_recent_ctime_ex() correctness wrt trailing \0 (diff) | |
download | apache2-8f30882b0d5943eae6013f92650652aad4cd8add.tar.xz apache2-8f30882b0d5943eae6013f92650652aad4cd8add.zip |
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
Diffstat (limited to 'include/util_time.h')
-rw-r--r-- | include/util_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |