[mod-xhtml-neg-cvs] mod_xhtml_neg mod_xhtml_neg.c,1.12,1.13
Brought to you by:
run2000
From: <ru...@us...> - 2004-03-11 13:32:47
|
Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15338 Modified Files: mod_xhtml_neg.c Log Message: Some minor comment fixups and column wrapping. Index: mod_xhtml_neg.c =================================================================== RCS file: /cvsroot/mod-xhtml-neg/mod_xhtml_neg/mod_xhtml_neg.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mod_xhtml_neg.c 11 Mar 2004 13:02:19 -0000 1.12 --- mod_xhtml_neg.c 11 Mar 2004 13:06:04 -0000 1.13 *************** *** 269,273 **** } ! static int mod_xhtml_strncmp( const char *str1, const char *str2, const int len ) { int offset = 0; char ch1, ch2; --- 269,274 ---- } ! static int mod_xhtml_strncmp( const char *str1, const char *str2, ! const int len ) { int offset = 0; char ch1, ch2; *************** *** 467,471 **** /* ! * Merge vlist_validators from different modules. This code is modified * from code in http_protocol.c in the Apache 1.3 core. */ --- 468,472 ---- /* ! * Merge vlist_validators from different modules. This code is adapted * from code in http_protocol.c in the Apache 1.3 core. */ *************** *** 899,903 **** } ! /* Set up default star matching if none is specified in the config file. */ if( stars_to_match < 0 ) { stars_to_match = 2; --- 900,905 ---- } ! /* Set up default star matching if none is specified in the ! config file. */ if( stars_to_match < 0 ) { stars_to_match = 2; *************** *** 1106,1112 **** * by Apache. */ ! char *new_etag = construct_etag_suffix( r->pool, *result_index ); r->vlist_validator = merge_validators( r->pool, r->vlist_validator, ! new_etag ); r->content_type = result_type; --- 1108,1114 ---- * by Apache. */ ! char *new_validator = construct_etag_suffix( r->pool, *result_index ); r->vlist_validator = merge_validators( r->pool, r->vlist_validator, ! new_validator ); r->content_type = result_type; *************** *** 1114,1118 **** logmessage = ap_pstrcat(r->pool, "Best content-type: ", result_type, "\n", ! "New Etag is: ", new_etag, "\n", NULL ); write(xns->log_fd, logmessage, mod_xhtml_strlen( logmessage )); --- 1116,1120 ---- logmessage = ap_pstrcat(r->pool, "Best content-type: ", result_type, "\n", ! "New validator is: ", new_validator, "\n", NULL ); write(xns->log_fd, logmessage, mod_xhtml_strlen( logmessage )); |