From 4c238b92caa9b03650f4a5431660f34c6babd10e Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 7 Dec 2012 12:49:47 +0000 Subject: [PATCH] Correct a return code in compile_host_pattern() --- urlmatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.2