From: Fabian Keil Date: Fri, 7 Dec 2012 12:49:47 +0000 (+0000) Subject: Correct a return code in compile_host_pattern() X-Git-Tag: v_3_0_20~145 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=4c238b92caa9b03650f4a5431660f34c6babd10e Correct a return code in compile_host_pattern() --- diff --git a/urlmatch.c b/urlmatch.c index 2886f27b..c731ec3b 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -1,4 +1,4 @@ -const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.73 2012/11/29 09:57:39 fabiankeil Exp $"; +const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.74 2012/12/07 12:49:20 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $ @@ -802,7 +802,7 @@ static jb_err compile_host_pattern(struct url_spec *url, const char *host_patter if (url->dcount < 0) { free_url_spec(url); - return JB_ERR_MEMORY; + return JB_ERR_PARSE; } else if (url->dcount != 0) {