tFix for compilation with --disable-networking - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b3d6681bd2447792bc63d769927467dd0e9bebde
(DIR) parent 11e6dfecc64bae48ddd4635abc3a1bac303ed157
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Tue, 16 Oct 2001 20:31:59 +0000
Fix for compilation with --disable-networking
Diffstat:
M src/curses_client.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/curses_client.c b/src/curses_client.c
t@@ -80,9 +80,11 @@ static void PrintMessage(const gchar *text);
static void GunShop(Player *Play);
static void LoanShark(Player *Play);
static void Bank(Player *Play);
+#ifdef NETWORKING
static void HttpAuthFunc(HttpConnection *conn,gboolean proxyauth,
gchar *realm,gpointer data);
static void SocksAuthFunc(NetworkBuffer *netbuf,gpointer data);
+#endif
static DispMode DisplayMode;
static gboolean QuitRequest;
t@@ -1709,13 +1711,13 @@ static void Curses_DoGame(Player *Play) {
fd_set writefs;
gboolean DoneOK;
gchar *pt;
+ gboolean justconnected=FALSE;
#endif
int NumDrugsHere;
int MaxSock;
char HaveWorthless;
Player *tmp;
struct sigaction sact;
- gboolean justconnected=FALSE;
DisplayMode=DM_NONE;
QuitRequest=FALSE;