From 1f04f620cf426735033e8da507cf2e4f629fa702 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 9 Nov 2006 01:06:55 +0000 Subject: Updated both the httpget class and the sbuffer, they're nice. --- src/httpget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/httpget.cpp') diff --git a/src/httpget.cpp b/src/httpget.cpp index ebbdfe3..dc25aa1 100644 --- a/src/httpget.cpp +++ b/src/httpget.cpp @@ -159,7 +159,8 @@ SBuffer *HttpGet::get() con.open( sHost.c_str(), nPort ); con.appendOutput( sData.c_str(), sData.size() ); con.writeOutput(); - while( con.readInput() ); + while( con.readInput() ) + printf("Read %db\n", con.getInputAmnt() ); int total = con.getInputAmnt(); const char *dat = con.getInput(); -- cgit v1.2.3