tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c
Date Sun, 01 Aug 2004 15:23:23 GMT
mturk       2004/08/01 08:23:23

  Modified:    ajp/ajplib/test ajp_header.c
  Log:
  Use CMD_AJP13_SEND_HEADERS instead hard coded number.
  
  Revision  Changes    Path
  1.23      +1 -1      jakarta-tomcat-connectors/ajp/ajplib/test/ajp_header.c
  
  Index: ajp_header.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/ajplib/test/ajp_header.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ajp_header.c	1 Aug 2004 14:54:10 -0000	1.22
  +++ ajp_header.c	1 Aug 2004 15:23:23 -0000	1.23
  @@ -623,7 +623,7 @@
                  "ajp_parse_headers: ajp_msg_get_byte failed");
           return rc;
       }
  -    if (result != 4) {
  +    if (result != CMD_AJP13_SEND_HEADERS) {
           ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
                  "ajp_parse_headers: wrong type %02x", result);
           return APR_EGENERAL;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message