Bugfix, use of (now) undefined network_http variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1d30e22ad9
commit
9f642a41b8
@ -51,8 +51,6 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
INetworkHttp *network_http = NULL;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
/** Create a thread that handles all network functions independent of the
|
||||
* main program. NetworkHttp supports only a single thread (i.e. it's not
|
||||
@ -633,7 +631,7 @@ int NetworkHttp::progressDownload(void *clientp,
|
||||
{
|
||||
Request *request = (Request *)clientp;
|
||||
|
||||
NetworkHttp* self = (NetworkHttp*)network_http;
|
||||
NetworkHttp* self = (NetworkHttp*)INetworkHttp::get();
|
||||
|
||||
// Check if we are asked to abort the download. If so, signal this
|
||||
// back to libcurl by returning a non-zero status.
|
||||
|
Loading…
Reference in New Issue
Block a user