You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2005/04/21 14:04:02 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp14.c
mturk 2005/04/21 05:04:02
Modified: jk/native/common jk_ajp14.c
Log:
Make jk_msg_buf_t structure public to skip the need for calling functions
for accessing structure elements.
Revision Changes Path
1.27 +3 -3 jakarta-tomcat-connectors/jk/native/common/jk_ajp14.c
Index: jk_ajp14.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp14.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- jk_ajp14.c 6 Feb 2005 09:37:59 -0000 1.26
+++ jk_ajp14.c 21 Apr 2005 12:04:02 -0000 1.27
@@ -337,7 +337,7 @@
/*
* UNHANDLED MESSAGE SIZE
*/
- if (jk_b_append_int(msg, (unsigned short)jk_b_get_len(unk))) {
+ if (jk_b_append_int(msg, (unsigned short)unk->len)) {
JK_TRACE_EXIT(l);
return JK_FALSE;
}
@@ -345,7 +345,7 @@
* UNHANDLED MESSAGE (Question : Did we have to send all the message or only part of)
* ( ie: only 1k max )
*/
- if (jk_b_append_bytes(msg, jk_b_get_buff(unk), jk_b_get_len(unk))) {
+ if (jk_b_append_bytes(msg, unk->buf, unk->len)) {
jk_log(l, JK_LOG_ERROR,
"failed appending the UNHANDLED MESSAGE");
JK_TRACE_EXIT(l);
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org