Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9206
Modified Files:
mod_xhtml_neg.c
Log Message:
Minor function name change, remove old Etag generation code, minor comment fixes.
Index: mod_xhtml_neg.c
===================================================================
RCS file: /cvsroot/mod-xhtml-neg/mod_xhtml_neg/mod_xhtml_neg.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** mod_xhtml_neg.c 12 Mar 2004 10:05:59 -0000 1.17
--- mod_xhtml_neg.c 12 Mar 2004 10:16:32 -0000 1.18
***************
*** 2,6 ****
* The Apache Software License, Version 1.1
*
! * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved.
*
--- 2,6 ----
* The Apache Software License, Version 1.1
*
! * Copyright (c) 2000-2004 The Apache Software Foundation. All rights
* reserved.
*
***************
*** 85,89 ****
* 0.9 ETag handled correctly for different content types.
*
- *
* Directives:
*
--- 85,88 ----
***************
*** 480,495 ****
/*
- * Construct an Etag suffix to be appended to the standard Apache
- * ETag.
- *
- * Todo: could probably macro-ise this function.
- */
-
- static char *construct_etag_suffix( pool *p, int index )
- {
- return ap_psprintf( p, "\"mxn-%d\"", index );
- }
-
- /*
* Make a simple hash code for the given accept_rec structure. This allows
* us to generate unique Etags for accepted content-types. The Etag
--- 479,482 ----
***************
*** 502,506 ****
*/
! static void make_hashcode( pool *p, accept_rec *rec )
{
char *data;
--- 489,493 ----
*/
! static void make_etag_hashcode( pool *p, accept_rec *rec )
{
char *data;
***************
*** 1263,1267 ****
new = (accept_rec *) ap_push_array( rec->content_types );
get_entry( cmd->pool, new, contenttype );
! make_hashcode( cmd->pool, new );
return NULL;
--- 1250,1254 ----
new = (accept_rec *) ap_push_array( rec->content_types );
get_entry( cmd->pool, new, contenttype );
! make_etag_hashcode( cmd->pool, new );
return NULL;
|