From: William A. Rowe Jr Date: Sun, 27 Jan 2002 07:47:30 +0000 (+0000) Subject: Shortcut where the resource has no language [discovered with no X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1eb3bfbbc06e38e1fa52559c0cb13ec77431ea73;p=apache Shortcut where the resource has no language [discovered with no DefaultLanguage in cgi-bin, resolving Greg Ames' observations, we had a lurking segfault.] This begs the question, what exactly did the fn do with no language in terms of serving content back in 1.3. Should be reviewed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93046 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index f41d2d4648..a88cf58388 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -1473,7 +1473,7 @@ static void set_language_quality(negotiation_state *neg, var_rec *variant) if (!neg->accept_langs) { return; /* no accept-language header */ } - + return; } else { /* Variant has one (or more) languages. Look for the best