summaryrefslogtreecommitdiff
path: root/src/httpget.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-09 01:06:55 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-09 01:06:55 +0000
commit1f04f620cf426735033e8da507cf2e4f629fa702 (patch)
treef3a487ed2c00ab9ced925c19a3624480a4be81dc /src/httpget.cpp
parent183c6e4862627899aad7f74b91eda8f5a052c74b (diff)
downloadlibbu++-1f04f620cf426735033e8da507cf2e4f629fa702.tar.gz
libbu++-1f04f620cf426735033e8da507cf2e4f629fa702.tar.bz2
libbu++-1f04f620cf426735033e8da507cf2e4f629fa702.tar.xz
libbu++-1f04f620cf426735033e8da507cf2e4f629fa702.zip
Updated both the httpget class and the sbuffer, they're nice.
Diffstat (limited to 'src/httpget.cpp')
-rw-r--r--src/httpget.cpp3
1 files changed, 2 insertions, 1 deletions
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()
159 con.open( sHost.c_str(), nPort ); 159 con.open( sHost.c_str(), nPort );
160 con.appendOutput( sData.c_str(), sData.size() ); 160 con.appendOutput( sData.c_str(), sData.size() );
161 con.writeOutput(); 161 con.writeOutput();
162 while( con.readInput() ); 162 while( con.readInput() )
163 printf("Read %db\n", con.getInputAmnt() );
163 164
164 int total = con.getInputAmnt(); 165 int total = con.getInputAmnt();
165 const char *dat = con.getInput(); 166 const char *dat = con.getInput();