From 68a1dad0c7a5add888934b956e5eaa752b0fb4b0 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 2 Mar 2001 22:05:39 +0000 Subject: [PATCH] In ap_method_in_list(), fix a typo which inadvertently cleared l->method_list. PR: 6980 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88433 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index e7f76d9494..e6501ffaba 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -930,7 +930,7 @@ AP_DECLARE(int) ap_method_in_list(ap_method_list_t *l, const char *method) /* * Otherwise, see if the method name is in the array or string names */ - if ((l->method_list = NULL) || (l->method_list->nelts == 0)) { + if ((l->method_list == NULL) || (l->method_list->nelts == 0)) { return 0; } methods = (char **)l->method_list->elts; -- 2.49.0