summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-04-06 18:00:32 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-04-06 18:00:32 +0000
commit5076dca58e40fe0f70620f43ac6e43120038d3cb (patch)
tree002c5491281a9f63f08ced835ad13a830c3639a2 /rbutil
parent2bcc5f782dc9199da7ebfa8f661f673eb6c3de65 (diff)
downloadrockbox-5076dca58e40fe0f70620f43ac6e43120038d3cb.tar.gz
rockbox-5076dca58e40fe0f70620f43ac6e43120038d3cb.tar.bz2
rockbox-5076dca58e40fe0f70620f43ac6e43120038d3cb.zip
Oops: don't report an error during cache initialization if the cache folder already exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16992 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/httpget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/httpget.cpp b/rbutil/rbutilqt/httpget.cpp
index e3742480ab..768463d1f2 100644
--- a/rbutil/rbutilqt/httpget.cpp
+++ b/rbutil/rbutilqt/httpget.cpp
@@ -86,6 +86,8 @@ bool HttpGet::initializeCache(const QDir& d)
{
if(!QFileInfo(p).isDir())
result = d.mkdir("rbutil-cache");
+ else
+ result = true;
}
else
result = false;