Uplink mode disabled temporarily for standalone release purposes.

This commit is contained in:
Thulinma 2012-05-11 19:17:36 +02:00
parent 34d49c9591
commit 28fc63c5d0

View file

@ -365,6 +365,8 @@ int main(int argc, char ** argv){
} }
} }
if (!gotUplink){ if (!gotUplink){
/// \todo Uplink disabled until gearbox is live. Simply comment this section back in to re-enable.
/*
Incoming = Socket::Connection("gearbox.ddvtech.com", 4242, true); Incoming = Socket::Connection("gearbox.ddvtech.com", 4242, true);
if (Incoming.connected()){ if (Incoming.connected()){
users.push_back(Incoming); users.push_back(Incoming);
@ -372,6 +374,7 @@ int main(int argc, char ** argv){
uplink = &users.back(); uplink = &users.back();
gotUplink = true; gotUplink = true;
} }
*/
} }
if (gotUplink){ if (gotUplink){
Response.null(); //make sure no data leaks from previous requests Response.null(); //make sure no data leaks from previous requests