]> granicus.if.org Git - apache/commitdiff
In ap_method_in_list(), fix a typo which inadvertently cleared
authorJeff Trawick <trawick@apache.org>
Fri, 2 Mar 2001 22:05:39 +0000 (22:05 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 2 Mar 2001 22:05:39 +0000 (22:05 +0000)
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

index e7f76d949403688793a62fd5e80054f842d0bf84..e6501ffaba96338c74c78b5df74843f7491c13ac 100644 (file)
@@ -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;