diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-09 16:15:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-09 16:15:09 +0300 |
commit | ae529d58059eaeded1d5e85bce2565b6e4d6938d (patch) | |
tree | 3cb9fcbf259358ca1fbf9332310e438158451f14 /src/gui | |
parent | 961d1a4bca34068e9ecb5deff0b9da0d6ed6ac16 (diff) | |
download | manaverse-ae529d58059eaeded1d5e85bce2565b6e4d6938d.tar.gz manaverse-ae529d58059eaeded1d5e85bce2565b6e4d6938d.tar.bz2 manaverse-ae529d58059eaeded1d5e85bce2565b6e4d6938d.tar.xz manaverse-ae529d58059eaeded1d5e85bce2565b6e4d6938d.zip |
Add support for redirects in online list (legacy server).
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index d07cb9f7d..d970cf8b9 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -536,6 +536,7 @@ int WhoIsOnline::downloadThread(void *ptr) break; } wio->mDownloadedBytes = 0; + curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &WhoIsOnline::memoryWrite); |