httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org (Ralf S. Engelschall)
Subject cvs commit: apache/src mod_rewrite.c
Date Fri, 25 Jul 1997 15:28:35 GMT
rse         97/07/25 08:28:34

  Modified:    src       mod_rewrite.c
  Log:
  just trivial comment fixup and coding style correction.
  
  Revision  Changes    Path
  1.39      +8 -9      apache/src/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_rewrite.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- mod_rewrite.c	1997/07/24 15:16:46	1.38
  +++ mod_rewrite.c	1997/07/25 15:28:33	1.39
  @@ -1562,7 +1562,7 @@
               return 1;
           }
   
  -        /* if this is a implicit redirect in a per-dir rule */
  +        /* if this is an implicit redirect in a per-dir rule */
           i = strlen(output);
           if (perdir != NULL
               && (   (i > 7 && strncmp(output, "http://", 7) == 0)
  @@ -1594,10 +1594,9 @@
               return 1;
           }
   
  -        /* add the previously stripped perdir prefix 
  -           if the new URI is not a new one (i.e.
  -           prefixed by a slash which means that is 
  -           no for this per-dir context) */
  +        /* add again the previously stripped perdir prefix if the new 
  +           URI is not a new one (i.e. prefixed by a slash which means 
  +           that it is not for this per-dir context)                    */
           if (prefixstrip && output[0] != '/') {
               rewritelog(r, 3, "[per-dir %s] add per-dir prefix: %s -> %s%s", perdir,
output, perdir, output);
               output = pstrcat(r->pool, perdir, output, NULL);
  @@ -2403,10 +2402,10 @@
           ap_snprintf(redir, sizeof(redir), "/redir#%d", i);
   
       ap_snprintf(str3, sizeof(str3),
  -	"%s %s [%s/sid#%lx][rid#%lx/%s%s] (%d) %s\n", str1,
  -	current_logtime(r), r->server->server_hostname,
  -	(unsigned long)(r->server), (unsigned long)r,
  -	type, redir, level, str2);
  +                "%s %s [%s/sid#%lx][rid#%lx/%s%s] (%d) %s\n", str1,
  +                current_logtime(r), r->server->server_hostname,
  +                (unsigned long)(r->server), (unsigned long)r,
  +                type, redir, level, str2);
   
       fd_lock(conf->rewritelogfp);
       write(conf->rewritelogfp, str3, strlen(str3));
  
  
  

Mime
View raw message