aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/httpget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpget.cpp b/src/httpget.cpp
index 6317403..ebbdfe3 100644
--- a/src/httpget.cpp
+++ b/src/httpget.cpp
@@ -156,7 +156,7 @@ SBuffer *HttpGet::get()
156 printf("Connection content:\n\n%s\n\n", sData.c_str() ); 156 printf("Connection content:\n\n%s\n\n", sData.c_str() );
157 157
158 Connection con; 158 Connection con;
159 con.open( "127.0.0.1", 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() );