author | spiralman <spiralman> | 2003-03-21 20:33:28 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2003-03-21 20:33:28 (UTC) |
commit | dc1979978af5157e0a290175106f25bfdf1e9e0d (patch) (side-by-side diff) | |
tree | ecf9a634ce1bdfd04d4371a6ab8dc0f325792d37 /noncore/net/ubrowser/httpfactory.cpp | |
parent | eca4b3ca284e527d2a2580a74e8ba445aadca52f (diff) | |
download | opie-dc1979978af5157e0a290175106f25bfdf1e9e0d.zip opie-dc1979978af5157e0a290175106f25bfdf1e9e0d.tar.gz opie-dc1979978af5157e0a290175106f25bfdf1e9e0d.tar.bz2 |
commented out debuging output and increased version to 0.1 (thought 0.0 was causing problems w/ ipkg)
Diffstat (limited to 'noncore/net/ubrowser/httpfactory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/ubrowser/httpfactory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/ubrowser/httpfactory.cpp b/noncore/net/ubrowser/httpfactory.cpp index b37e9f9..154d5d0 100644 --- a/noncore/net/ubrowser/httpfactory.cpp +++ b/noncore/net/ubrowser/httpfactory.cpp @@ -261,13 +261,13 @@ const QByteArray HttpFactory::recieveNormal( int sockfd, int dataLen ) const QByteArray data( dataLen ); QByteArray temp( dataLen ); int recieved, i; recieved = recv( sockfd, temp.data(), temp.size(), 0 ); - printf( "HttpFactory::recieveNormal: found some data: %s\n", (char *)temp.data() ); +// printf( "HttpFactory::recieveNormal: found some data: %s\n", (char *)temp.data() ); for( i = 0; i < recieved; i++ ) { data[i] = temp[i]; } dataLen -= recieved; while( dataLen > 0 ) @@ -293,13 +293,13 @@ const QByteArray HttpFactory::recieveChunked( int sockfd ) const QByteArray data; QByteArray temp( 1 ); int recieved, i = 0, cSize = 0; QString cSizeS; - printf( "HttpFactory::recieveChunked: temp.size(): %d\n", temp.size() ); +// printf( "HttpFactory::recieveChunked: temp.size(): %d\n", temp.size() ); recv( sockfd, temp.data(), temp.size(), 0 ); while( *(temp.data()) != '\n' && *(temp.data()) != ';' ) { // printf( "HttpFactory::recieveChunked: temp.size(): %d\n", temp.size() ); // printf( "HttpFactory::recieveChunked: temp.data(): %c\n", temp[0] ); cSizeS += temp[0]; @@ -332,13 +332,13 @@ const QByteArray HttpFactory::recieveChunked( int sockfd ) const data[i] = temp[j]; i++; } temp.fill('\0', cSize); } - printf( "HttpFactory::recieveChunked: current data:\n%s", data.data() ); +// printf( "HttpFactory::recieveChunked: current data:\n%s", data.data() ); temp.fill('\0', 1); cSizeS = ""; cSize = 0; recv( sockfd, temp.data(), temp.size(), 0 ); @@ -347,13 +347,13 @@ const QByteArray HttpFactory::recieveChunked( int sockfd ) const recv( sockfd, temp.data(), temp.size(), 0 ); } recv( sockfd, temp.data(), temp.size(), 0 ); while( *(temp.data()) != '\n' && *(temp.data()) != ';' ) { // printf( "HttpFactory::recieveChunked: temp.size(): %d\n", temp.size() ); - printf( "HttpFactory::recieveChunked: temp.data(): %d\n", temp[0] ); +// printf( "HttpFactory::recieveChunked: temp.data(): %d\n", temp[0] ); cSizeS += temp[0]; recv( sockfd, temp.data(), temp.size(), 0 ); } printf( "HttpFactory::recieveChunked: cSizeS: %s\n", cSizeS.latin1() ); cSize = cSizeS.toInt( 0, 16 ); |