You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rs...@locus.apache.org on 2000/10/07 18:11:51 UTC

cvs commit: apache-1.3/src/main http_protocol.c

rse         00/10/07 09:11:50

  Modified:    src/main http_protocol.c
  Log:
  Get rid of warnings:
  http_protocol.c: In function `read_request_line':
  http_protocol.c:925: warning: unsigned int format, int arg (arg 3)
  http_protocol.c:925: warning: unsigned int format, int arg (arg 4)
  
  Revision  Changes    Path
  1.290     +1 -1      apache-1.3/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
  retrieving revision 1.289
  retrieving revision 1.290
  diff -u -r1.289 -r1.290
  --- http_protocol.c	2000/02/20 01:14:47	1.289
  +++ http_protocol.c	2000/10/07 16:11:50	1.290
  @@ -859,7 +859,7 @@
       const char *ll = l;
       const char *uri;
       conn_rec *conn = r->connection;
  -    int major = 1, minor = 0;   /* Assume HTTP/1.0 if non-"HTTP" protocol */
  +    unsigned int major = 1, minor = 0;   /* Assume HTTP/1.0 if non-"HTTP" protocol */
       int len;
   
       /* Read past empty lines until we get a real request line,