tDisable old metaserver code for now - vaccinewars - be a doctor and try to vac… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0b02373f3124731010693c8560c7f743d9021641 | |
parent 21c531acdc7497af7265543bae76ab6066c40f59 | |
Author: Ben Webb <[email protected]> | |
Date: Sat, 31 Oct 2020 23:07:02 -0700 | |
Disable old metaserver code for now | |
The old metaserver code doesn't work; temporarily | |
disable it so that we can compile the GUI client. | |
Diffstat: | |
M src/gui_client/newgamedia.c | 7 ++++--- | |
1 file changed, 4 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/src/gui_client/newgamedia.c b/src/gui_client/newgamedia.c | |
t@@ -313,7 +313,7 @@ static void HandleMetaSock(gpointer data, gint socket, | |
if (!stgam.MetaConn) | |
return; | |
- oldstatus = stgam.MetaConn->NetBuf.status; | |
+/*oldstatus = stgam.MetaConn->NetBuf.status; | |
oldsocks = stgam.MetaConn->NetBuf.sockstat; | |
if (NetBufHandleNetwork | |
t@@ -328,7 +328,7 @@ static void HandleMetaSock(gpointer data, gint socket, | |
MetaDone(); | |
} else { | |
DisplayConnectStatus(TRUE, oldstatus, oldsocks); | |
- } | |
+ }*/ | |
} | |
static void MetaSocketStatus(NetworkBuffer *NetBuf, gboolean Read, | |
t@@ -367,6 +367,7 @@ static void UpdateMetaServerList(GtkWidget *widget) | |
SetStartGameStatus(text); | |
g_free(text); | |
+ /* | |
if (OpenMetaHttpConnection(&stgam.MetaConn)) { | |
metaserv = stgam.metaserv; | |
SetHttpAuthFunc(stgam.MetaConn, AuthDialog, NULL); | |
t@@ -378,7 +379,7 @@ static void UpdateMetaServerList(GtkWidget *widget) | |
ConnectError(TRUE); | |
CloseHttpConnection(stgam.MetaConn); | |
stgam.MetaConn = NULL; | |
- } | |
+ }*/ | |
} | |
static void MetaServerConnect(GtkWidget *widget, gpointer data) |