]> granicus.if.org Git - apache/commitdiff
style police take 2
authorCliff Woolley <jwoolley@apache.org>
Sun, 26 May 2002 23:00:19 +0000 (23:00 +0000)
committerCliff Woolley <jwoolley@apache.org>
Sun, 26 May 2002 23:00:19 +0000 (23:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95295 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgid.c

index 476ff32b0320f370c078b65ee2a9f25d0267b323..397ea9fa89dba5bb1ba0fc2b4fd74a0f5952a3c2 100644 (file)
@@ -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) {