From b728beea69560d04918886517704e445facdf690 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Fri, 16 Apr 2004 18:21:59 +0000 Subject: [PATCH] We are constructing out of the pointer vals of these entities git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103409 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/http_core.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/http_core.c b/src/main/http_core.c index 377a5f9ebc9..ce3daca232a 100644 --- a/src/main/http_core.c +++ b/src/main/http_core.c @@ -563,13 +563,12 @@ API_EXPORT(const char *) ap_auth_nonce(request_rec *r) * But then again - you should use AuthDigestRealmSeed in your config * file if you care. So the adhoc value should do. */ - return ap_psprintf(r->pool,"%lu%lu%lu%lu%lu%s", - *(unsigned long *)&((r->connection->local_addr).sin_addr ), - *(unsigned long *)ap_user_name, - *(unsigned long *)ap_listeners, - *(unsigned long *)ap_server_argv0, - *(unsigned long *)ap_pid_fname, - "WHAT_THE_HECK_GOES_HERE?"); + return ap_psprintf(r->pool,"%pp%pp%pp%pp%pp", + (void *)&((r->connection->local_addr).sin_addr ), + (void *)ap_user_name, + (void *)ap_listeners, + (void *)ap_server_argv0, + (void *)ap_pid_fname); } API_EXPORT(const char *) ap_default_type(request_rec *r) -- 2.47.3