summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-04-16 00:47:58 +0200
committerJeff Trawick <trawick@apache.org>2003-04-16 00:47:58 +0200
commit013339e87d7a32209308c1984f009308d4566566 (patch)
tree348bf8359ac34f299f604d7f0c3b06cdecffca4b /server
parentEnable ap_sock_disable_nagle for Windows. This along with the addition of (diff)
downloadapache2-013339e87d7a32209308c1984f009308d4566566.tar.xz
apache2-013339e87d7a32209308c1984f009308d4566566.zip
fix some discrepancies between format strings and arguments,
resolving some warnings on 64-bit systems git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99374 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/protocol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/protocol.c b/server/protocol.c
index 1985d505ae..22d044e26a 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -1100,9 +1100,9 @@ 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));
+ apr_psprintf(r->pool, "Digest realm=\"%s\", nonce=\""
+ "%" APR_UINT64_T_HEX_FMT "\"",
+ ap_auth_name(r), (apr_uint64_t)r->request_time));
}
AP_DECLARE(int) ap_get_basic_auth_pw(request_rec *r, const char **pw)