ext/revdispatch/libdispatch-0.1/src/ev_http.cc in evdispatch-0.2.6 vs ext/revdispatch/libdispatch-0.1/src/ev_http.cc in evdispatch-0.3.0
- old
+ new
@@ -406,12 +406,12 @@
// printf( " write: %s, %d\n", this->name.c_str(), realsize );
if( m_fd == -1 ) {
body.append((const char*)ptr,realsize);
}
else {
+ //fwrite( ptr, size, nmemb, stdout );
::write( m_fd, ptr, realsize );
}
- //fwrite( ptr, size, nmemb, stdout );
}
void HttpResponse::write_header( void *ptr, size_t realsize, size_t size, size_t nmemb )
{
m_header.append((const char*)ptr,realsize);
//fwrite( ptr, size, nmemb, stdout );