X-Git-Url: http://www.privoxy.org/gitweb/filter-file.html?a=blobdiff_plain;f=urlmatch.c;h=3dead33b03ba2c6c0a1af62a9434d51a1da61a72;hb=4bbb02c79f2dbce0f0d6a37918f8eddeb0419e73;hp=6cb6013f3371e9ff1ad5aa67d7976ced67b9387d;hpb=0428133610c525457cb16f7ac6a54203a2743d6c;p=privoxy.git diff --git a/urlmatch.c b/urlmatch.c index 6cb6013f..3dead33b 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -1,4 +1,4 @@ -const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.61 2011/05/22 10:25:26 fabiankeil Exp $"; +const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.62 2011/09/04 11:10:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $ @@ -411,7 +411,7 @@ jb_err parse_http_url(const char *url, struct http_request *http, int require_pr *********************************************************************/ static int unknown_method(const char *method) { - static const char *known_http_methods[] = { + static const char * const known_http_methods[] = { /* Basic HTTP request type */ "GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS", "TRACE", "CONNECT", /* webDAV extensions (RFC2518) */