]> granicus.if.org Git - apache/commitdiff
add notes about a portability problem -- formatting apr_time_t
authorJeff Trawick <trawick@apache.org>
Wed, 17 Jul 2002 13:50:26 +0000 (13:50 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 17 Jul 2002 13:50:26 +0000 (13:50 +0000)
in hex

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96094 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c
server/protocol.c

index e15a44f9aa5937c4969c5723f9dd08a36e9a4842..58aa4165907f9861283f89f5ba144f3e9a6b96e7 100644 (file)
@@ -2803,6 +2803,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
         if (ctx->num_ranges > 1) {
             /* Is ap_make_content_type required here? */
             const char *orig_ct = ap_make_content_type(r, r->content_type);
+            /* need APR_TIME_T_FMT_HEX */
             ctx->boundary = apr_psprintf(r->pool, "%qx%lx",
                                          r->request_time, (long) getpid());
 
index 9de5372bcb2dd1b1572789b1ca81924d6f564fbe..563e04cbc6f33a5a19918ee76363024d871e9168 100644 (file)
@@ -1151,6 +1151,7 @@ AP_DECLARE(void) ap_note_digest_auth_failure(request_rec *r)
     apr_table_setn(r->err_headers_out,
                    (PROXYREQ_PROXY == r->proxyreq) ? "Proxy-Authenticate"
                                                    : "WWW-Authenticate",
+                   /* need APR_TIME_T_FMT_HEX */
                    apr_psprintf(r->pool, "Digest realm=\"%s\", nonce=\"%llx\"",
                                 ap_auth_name(r), r->request_time));
 }