Fixed HTTP embed code problems.

This commit is contained in:
Thulinma 2014-12-07 00:22:23 +01:00
parent 2769e41258
commit 78aa855084

View file

@ -4,7 +4,7 @@
namespace Mist {
OutHTTP::OutHTTP(Socket::Connection & conn) : HTTPOutput(conn){
if (myConn.getSocket() >= 0){
if (myConn.getPureSocket() >= 0){
std::string host = myConn.getHost();
dup2(myConn.getSocket(), STDIN_FILENO);
dup2(myConn.getSocket(), STDOUT_FILENO);