]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
We are constructing out of
authorJim Jagielski <jim@apache.org>
Fri, 16 Apr 2004 18:21:59 +0000 (18:21 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 16 Apr 2004 18:21:59 +0000 (18:21 +0000)
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

index 377a5f9ebc97da67dfac301f28ed5fb3d2a1beae..ce3daca232a276ac7206017ea64d45ef0f644f94 100644 (file)
@@ -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)