X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=urlmatch.c;h=2bd5a8f85fbc9c6d65ab9190f6d8ab7a87788e2c;hp=124cc6ec310ec85bc5310a5eb31b80019854972d;hb=da6d6e7115b36cd4e03460c9c49a212edacb159a;hpb=34e92f5e777f9df0976372455ef772a8788a8152;ds=sidebyside diff --git a/urlmatch.c b/urlmatch.c index 124cc6ec..2bd5a8f8 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -6,7 +6,7 @@ * patterns. * * Copyright : Written by and Copyright (C) 2001-2014 - * the Privoxy team. http://www.privoxy.org/ + * the Privoxy team. https://www.privoxy.org/ * * Based on the Internet Junkbuster originally written * by and Copyright (C) 1997 Anonymous Coders and @@ -87,7 +87,7 @@ void free_http_request(struct http_request *http) freez(http->url); freez(http->hostport); freez(http->path); - freez(http->ver); + freez(http->version); freez(http->host_ip_addr_str); #ifndef FEATURE_EXTENDED_HOST_PATTERNS freez(http->dbuffer); @@ -587,7 +587,7 @@ jb_err parse_http_request(const char *req, struct http_request *http) */ http->cmd = strdup_or_die(req); http->gpc = strdup_or_die(v[0]); - http->ver = strdup_or_die(v[2]); + http->version = strdup_or_die(v[2]); http->ocmd = strdup_or_die(http->cmd); freez(buf);