httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1398478 - /httpd/httpd/trunk/modules/mappers/mod_negotiation.c
Date Mon, 15 Oct 2012 19:49:24 GMT
Author: jailletc36
Date: Mon Oct 15 19:49:23 2012
New Revision: 1398478

URL: http://svn.apache.org/viewvc?rev=1398478&view=rev
Log:
ccpcheck: duplicateExpression -  'vary_by_language' is tested twice

Modified:
    httpd/httpd/trunk/modules/mappers/mod_negotiation.c

Modified: httpd/httpd/trunk/modules/mappers/mod_negotiation.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_negotiation.c?rev=1398478&r1=1398477&r2=1398478&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_negotiation.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_negotiation.c Mon Oct 15 19:49:23 2012
@@ -2606,7 +2606,7 @@ static void set_neg_headers(request_rec 
     }
 
     if (neg->is_transparent || vary_by_type || vary_by_language ||
-        vary_by_language || vary_by_charset || vary_by_encoding) {
+        vary_by_charset || vary_by_encoding) {
 
         apr_table_mergen(hdrs, "Vary", 2 + apr_pstrcat(r->pool,
             neg->is_transparent ? ", negotiate"       : "",



Mime
View raw message