summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--libcore/curlfuncs.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 1c4ec2e..991c78f 100644
--- a/HISTORY
+++ b/HISTORY
@@ -348,4 +348,6 @@ Version 0.4.8
Version 0.5.0
- fixed display of channel separators
+- added some debug output when installing skins
+- added timeout for preview screenshot downloading
diff --git a/libcore/curlfuncs.c b/libcore/curlfuncs.c
index ed1ea01..c6dfee5 100644
--- a/libcore/curlfuncs.c
+++ b/libcore/curlfuncs.c
@@ -85,6 +85,7 @@ inline void InitCurlLibraryIfNeeded()
curl_easy_setopt(curlfuncs::curl, CURLOPT_WRITEDATA, 0); // Set option to write to string
curl_easy_setopt(curlfuncs::curl, CURLOPT_FOLLOWLOCATION, TRUE);
curl_easy_setopt(curlfuncs::curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Mayukh's libcurl wrapper http://www.mayukhbose.com/)");
+ curl_easy_setopt(curlfuncs::curl, CURLOPT_TIMEOUT, 5L);
curlfuncs::bInitialized = true;
}
}