From 5930a7cde8b11cede642e4f1ac0efb6ec06cb19d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 3 Nov 2006 22:03:15 +0000 Subject: HttpGet will actually call the host instead of localhost. --- src/httpget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() printf("Connection content:\n\n%s\n\n", sData.c_str() ); Connection con; - con.open( "127.0.0.1", nPort ); + con.open( sHost.c_str(), nPort ); con.appendOutput( sData.c_str(), sData.size() ); con.writeOutput(); while( con.readInput() ); -- cgit v1.2.3