You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2004/04/16 20:22:00 UTC
cvs commit: apache-1.3/src/main http_core.c
jim 2004/04/16 11:21:59
Modified: src/main http_core.c
Log:
We are constructing out of
the pointer vals of these entities
Revision Changes Path
1.334 +6 -7 apache-1.3/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.333
retrieving revision 1.334
diff -u -r1.333 -r1.334
--- http_core.c 15 Apr 2004 15:51:51 -0000 1.333
+++ http_core.c 16 Apr 2004 18:21:59 -0000 1.334
@@ -563,13 +563,12 @@
* 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)