httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.com>
Subject cvs commit: apache/src http_core.h http_core.c http_protocol.c
Date Thu, 10 Oct 1996 12:12:03 GMT
fielding    96/10/10 05:12:03

  Modified:    src       http_core.h http_core.c http_protocol.c
  Log:
  Fixed add-by-one errors in usage of RESPONSE_CODES, probably leftover
  from an earlier use of that symbol.
  
  Revision  Changes    Path
  1.12      +2 -2      apache/src/http_core.h
  
  Index: http_core.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_core.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -C3 -r1.11 -r1.12
  *** http_core.h	1996/08/20 11:50:45	1.11
  --- http_core.h	1996/10/10 12:11:59	1.12
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: http_core.h,v 1.11 1996/08/20 11:50:45 paul Exp $ */
    
    /*****************************************************************
     *
  --- 50,56 ----
     *
     */
    
  ! /* $Id: http_core.h,v 1.12 1996/10/10 12:11:59 fielding Exp $ */
    
    /*****************************************************************
     *
  ***************
  *** 146,152 ****
        /* Custom response config. These can contain text or a URL to redirect to.
         */
      
  !     char *response_code_strings[RESPONSE_CODES+1];
    
        /* Hostname resolution etc */
        int hostname_lookups;
  --- 146,152 ----
        /* Custom response config. These can contain text or a URL to redirect to.
         */
      
  !     char *response_code_strings[RESPONSE_CODES];
    
        /* Hostname resolution etc */
        int hostname_lookups;
  
  
  
  1.35      +2 -2      apache/src/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_core.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -C3 -r1.34 -r1.35
  *** http_core.c	1996/08/25 17:46:08	1.34
  --- http_core.c	1996/10/10 12:12:00	1.35
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: http_core.c,v 1.34 1996/08/25 17:46:08 ben Exp $ */
    
    #define CORE_PRIVATE
    #include "httpd.h"
  --- 50,56 ----
     *
     */
    
  ! /* $Id: http_core.c,v 1.35 1996/10/10 12:12:00 fielding Exp $ */
    
    #define CORE_PRIVATE
    #include "httpd.h"
  ***************
  *** 132,138 ****
        if (new->auth_name) conf->auth_name = new->auth_name;
        if (new->requires) conf->requires = new->requires;
    
  !     for (i = 0; i <= RESPONSE_CODES; ++i)
            if (new->response_code_strings[i] != NULL)
    	   conf->response_code_strings[i] = new->response_code_strings[i];
        if (new->hostname_lookups != 2)
  --- 132,138 ----
        if (new->auth_name) conf->auth_name = new->auth_name;
        if (new->requires) conf->requires = new->requires;
    
  !     for (i = 0; i < RESPONSE_CODES; ++i)
            if (new->response_code_strings[i] != NULL)
    	   conf->response_code_strings[i] = new->response_code_strings[i];
        if (new->hostname_lookups != 2)
  
  
  
  1.55      +2 -2      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -C3 -r1.54 -r1.55
  *** http_protocol.c	1996/10/10 09:02:43	1.54
  --- http_protocol.c	1996/10/10 12:12:01	1.55
  ***************
  *** 50,56 ****
     *
     */
      
  ! /* $Id: http_protocol.c,v 1.54 1996/10/10 09:02:43 fielding Exp $ */
    
    /*
     * http_protocol.c --- routines which directly communicate with the
  --- 50,56 ----
     *
     */
      
  ! /* $Id: http_protocol.c,v 1.55 1996/10/10 12:12:01 fielding Exp $ */
    
    /*
     * http_protocol.c --- routines which directly communicate with the
  ***************
  *** 852,858 ****
    int index_of_response(int status)
    {
        static int shortcut[6] = { 0, LEVEL_200, LEVEL_300, LEVEL_400,
  !                                LEVEL_500, RESPONSE_CODES+1 };
        int i, pos;
    
        if (status < 100)          /* Below 100 is illegal for HTTP status */
  --- 852,858 ----
    int index_of_response(int status)
    {
        static int shortcut[6] = { 0, LEVEL_200, LEVEL_300, LEVEL_400,
  !                                LEVEL_500, RESPONSE_CODES };
        int i, pos;
    
        if (status < 100)          /* Below 100 is illegal for HTTP status */
  
  
  

Mime
View raw message