From: havoc Date: Mon, 26 Mar 2007 02:04:42 +0000 (+0000) Subject: patch from div0 to fix issues with libcurl on old nexuiz servers X-Git-Tag: xonotic-v0.1.0preview~3412 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6e9bda526592af7d22c76bad63703fd68f0839c8;p=xonotic%2Fdarkplaces.git patch from div0 to fix issues with libcurl on old nexuiz servers git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7005 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/libcurl.c b/libcurl.c index 4061f551..616e8945 100644 --- a/libcurl.c +++ b/libcurl.c @@ -1030,7 +1030,7 @@ void Curl_Curl_f(void) char donecommand[256]; if(cls.netcon) { - if(cls.signon >= 3) + if(cls.loadbegun) // curling won't inhibit loading the map any more when at this stage, so bail out and force a reconnect { dpsnprintf(donecommand, sizeof(donecommand), "connect %s", cls.netcon->address); Curl_CommandWhenDone(donecommand);