Commit 68a1dad0 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 2020940c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;