From: Jeff Trawick Date: Fri, 2 Mar 2001 22:05:39 +0000 (+0000) Subject: In ap_method_in_list(), fix a typo which inadvertently cleared X-Git-Tag: 2.0.14~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=072df7960c07d4120a10f571e44430b5d1ae2aa4;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index e7f76d94940..e6501ffaba9 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;