From ec31c6ad8eb24951648494a59dfca36d26644b15 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sun, 27 Jan 2002 07:47:30 +0000 Subject: [PATCH] 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 --- modules/mappers/mod_negotiation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1