Mod Cplusplus CVS committal
Author : johnksterling
Project : mod_cplusplus
Module : src
Dir : mod_cplusplus/src
Modified Files:
apache_output_buffer.cpp request_env.cpp
Log Message:
update to remove rope dependency and update test suite so it runs :)
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/src/apache_output_buffer.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- apache_output_buffer.cpp 14 Aug 2003 15:04:38 -0000 1.4
+++ apache_output_buffer.cpp 15 Aug 2003 22:46:03 -0000 1.5
@@ -21,9 +21,9 @@
this->signal_sending();
int ret_val;
- ret_val = ap_rputs(memory.c_str(), r_ );
+ ret_val = ap_rputs(memory_, r_ );
if ( -1 != ret_val ) {
- memory = "";
+ memory_ = "";
}
return ret_val;
@@ -31,7 +31,7 @@
void
apache_output_buffer::clear(){
- memory = "";
+ memory_ = "";
}
void
@@ -52,7 +52,7 @@
* rather than buffer and output on class destruct
*/
if (buffer_) {
- memory += static_cast<char>(c);
+ memory_ += static_cast<char>(c);
} else {
this->signal_sending();
ap_rputc( static_cast<char>(c),r_ );
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/src/request_env.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- request_env.cpp 27 Aug 2002 03:35:51 -0000 1.3
+++ request_env.cpp 15 Aug 2003 22:46:03 -0000 1.4
@@ -70,7 +70,7 @@
switch ( ch[i] ) {
- /* test for end of string */
+ /* test for end of string */
case '\0':
i = ch_len;
break;
|