From: Cliff Woolley Date: Sun, 26 May 2002 23:00:19 +0000 (+0000) Subject: style police take 2 X-Git-Tag: 2.0.37~253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6acb2a7d42beabed3c6ed6104d4e6abec362a13b;p=apache style police take 2 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95295 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 476ff32b03..397ea9fa89 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -380,7 +380,7 @@ static int get_req(int fd, request_rec *r, char **argv0, char ***env, int *req_t if ((rc == sizeof(len)) && len) { data = apr_pcalloc(r->pool, len + 1); /* last byte is '\0' */ rc = read(fd, data, len); - if(rc != len) { + if (rc != len) { return 1; } apr_table_set(r->notes,"mod_userdir_user", data); @@ -1028,7 +1028,7 @@ static int cgid_handler(request_rec *r) apr_file_t *tempsock; apr_size_t nbytes; - if(strcmp(r->handler,CGI_MAGIC_TYPE) && strcmp(r->handler,"cgi-script")) + if (strcmp(r->handler,CGI_MAGIC_TYPE) && strcmp(r->handler,"cgi-script")) return DECLINED; if (r->method_number == M_OPTIONS) {