httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@hyperreal.com>
Subject cvs commit: apache/src http_protocol.c
Date Mon, 17 Jun 1996 20:55:27 GMT
akosut      96/06/17 13:55:26

  Modified:    src       http_protocol.c
  Log:
  Fix a possible SIGBUS on some systems.
  
  Submitted by: ccount@mit.edu
  
  Revision  Changes    Path
  1.26      +1 -1      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -C3 -r1.25 -r1.26
  *** http_protocol.c	1996/06/17 20:43:46	1.25
  --- http_protocol.c	1996/06/17 20:55:25	1.26
  ***************
  *** 346,352 ****
        parse_uri (r, uri);
        
        r->assbackwards = (ll[0] == '\0');
  !     r->protocol = ll[0] ? pstrdup (r->pool, ll) : "HTTP/0.9";
        sscanf(r->protocol, "HTTP/%d.%d", &major, &minor);
        r->proto_num = 1000*major + minor;
    
  --- 346,352 ----
        parse_uri (r, uri);
        
        r->assbackwards = (ll[0] == '\0');
  !     r->protocol = pstrdup (r->pool, ll[0] ? ll : "HTTP/0.9");
        sscanf(r->protocol, "HTTP/%d.%d", &major, &minor);
        r->proto_num = 1000*major + minor;
    
  
  
  

Mime
View raw message