]> granicus.if.org Git - apache/commitdiff
Fix some spurious ident spotted by sparse
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 31 Aug 2015 19:45:24 +0000 (19:45 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 31 Aug 2015 19:45:24 +0000 (19:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700317 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_cern_meta.c

index f06c464c1d9d9e0570f585abeac07c4c8cb90813..09a41e1cc692bad47ee4300d762accc7fe68dd23 100644 (file)
@@ -246,7 +246,7 @@ static int scan_meta_file(request_rec *r, apr_file_t *f)
 
             char *endp = l + strlen(l) - 1;
             while (endp > l && apr_isspace(*endp))
-            *endp-- = '\0';
+                *endp-- = '\0';
 
             tmp = apr_pstrdup(r->pool, l);
             ap_content_type_tolower(tmp);
@@ -332,7 +332,7 @@ static int add_cern_meta_data(request_rec *r)
      */
     rr = ap_sub_req_lookup_file(metafilename, r, NULL);
     if (rr->status != HTTP_OK) {
-    ap_destroy_sub_req(rr);
+        ap_destroy_sub_req(rr);
         return DECLINED;
     }
     ap_destroy_sub_req(rr);