httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgid.c
Date Sun, 26 May 2002 22:56:45 GMT
jwoolley    02/05/26 15:56:45

  Modified:    modules/generators mod_cgid.c
  Log:
  style police
  
  Revision  Changes    Path
  1.131     +7 -6      httpd-2.0/modules/generators/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgid.c,v
  retrieving revision 1.130
  retrieving revision 1.131
  diff -u -d -u -r1.130 -r1.131
  --- mod_cgid.c	26 May 2002 22:10:55 -0000	1.130
  +++ mod_cgid.c	26 May 2002 22:56:45 -0000	1.131
  @@ -381,9 +381,9 @@
           data = apr_pcalloc(r->pool, len + 1); /* last byte is '\0' */
           rc = read(fd, data, len);
           if(rc != len) {
  -	    return 1;
  +            return 1;
           }
  -	apr_table_set(r->notes,"mod_userdir_user", data);
  +        apr_table_set(r->notes,"mod_userdir_user", data);
       }
       return 0;
   } 
  @@ -483,11 +483,12 @@
   #endif 
      /* send a minimal notes table */
      data  = (char *) apr_table_get(r->notes, "mod_userdir_user");
  -   if(data != NULL) {
  +   if (data != NULL) {
          len = strlen(data);
          write(fd, &len, sizeof(len));
          write(fd, data, len);
  -   } else {
  +   }
  +   else {
          len = 0;
          write(fd, &len, sizeof(len));
      }
  @@ -909,7 +910,7 @@
               first = 0;
           }
           apr_file_write(f, buf, &len);
  -	apr_file_puts("\n", f);
  +        apr_file_puts("\n", f);
       }
   
       if (script_err) {
  @@ -1028,7 +1029,7 @@
       apr_size_t nbytes;
   
       if(strcmp(r->handler,CGI_MAGIC_TYPE) && strcmp(r->handler,"cgi-script"))
  -	return DECLINED;
  +        return DECLINED;
   
       if (r->method_number == M_OPTIONS) { 
           /* 99 out of 100 cgid scripts, this is all they support */ 
  
  
  

Mime
View raw message