aboutsummaryrefslogtreecommitdiff
path: root/src/httpget.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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();