httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject cvs commit: apache-1.3/src/os/netware os.h
Date Fri, 26 Jan 2001 02:12:51 GMT
fanf        01/01/25 18:12:50

  Modified:    src/os/netware os.h
  Log:
  fix style bugs and note an assumption
  
  Revision  Changes    Path
  1.12      +4 -5      apache-1.3/src/os/netware/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/netware/os.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -u -r1.11 -r1.12
  --- os.h	2001/01/25 20:44:29	1.11
  +++ os.h	2001/01/26 02:12:50	1.12
  @@ -129,13 +129,12 @@
   {
       char *s = strchr (file, ':');
       
  -    if (s)
  -    {
  -        if (strncmp(s, "://", 3)) 
  +    if (s) {
  +        if (strncmp(s, "://", 3) != 0)
  +	    /* XXX: we assume that everything before the : is letters */
               return 1;
       }
  -    else
  -    {
  +    else {
           if (file[0] == '/')
               return 1;
       }
  
  
  

Mime
View raw message