small fix: moving the url length check in the inner loop

This commit is contained in:
Fabio Bas 2014-07-23 23:10:48 +02:00
parent b40abfa1ad
commit 49b3568b53

View file

@ -145,13 +145,13 @@ void DBPriceUpdater::updatePrices()
bNotFirst = true;
}
muidMap.insert(muid, cards[i]);
}
if(q.length() > 240)
{
urls.append(base + q);
bNotFirst=false;
q = "";
if(q.length() > 240)
{
urls.append(base + q);
bNotFirst=false;
q = "";
}
}
}
if(q.length() > 0)