From: Jeff Trawick Date: Fri, 6 Aug 2010 17:39:26 +0000 (+0000) Subject: axe unexpected ';' after end of block X-Git-Tag: 2.3.7~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b79b3b5ba8be3c60f1274339b1f720cf45b909ee;p=apache axe unexpected ';' after end of block git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983066 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/metadata/mod_cern_meta.c b/modules/metadata/mod_cern_meta.c index e37891a3d9..c2f226769f 100644 --- a/modules/metadata/mod_cern_meta.c +++ b/modules/metadata/mod_cern_meta.c @@ -281,18 +281,18 @@ static int add_cern_meta_data(request_rec *r) if (!dconf->metafiles) { return DECLINED; - }; + } /* if ./.web/$1.meta exists then output 'asis' */ if (r->finfo.filetype == APR_NOFILE) { return DECLINED; - }; + } /* is this a directory? */ if (r->finfo.filetype == APR_DIR || r->uri[strlen(r->uri) - 1] == '/') { return DECLINED; - }; + } /* what directory is this file in? */ scrap_book = apr_pstrdup(r->pool, r->filename); @@ -311,7 +311,7 @@ static int add_cern_meta_data(request_rec *r) "internal error in mod_cern_meta: %s", r->filename); /* should really barf, but hey, let's be friends... */ return DECLINED; - }; + } metafilename = apr_pstrcat(r->pool, scrap_book, "/", dconf->metadir ? dconf->metadir : DEFAULT_METADIR, @@ -345,7 +345,7 @@ static int add_cern_meta_data(request_rec *r) ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "meta file permissions deny server access: %s", metafilename); return HTTP_FORBIDDEN; - }; + } /* read the headers in */ rv = scan_meta_file(r, f);