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,7 +145,6 @@ void DBPriceUpdater::updatePrices()
bNotFirst = true;
}
muidMap.insert(muid, cards[i]);
}
if(q.length() > 240)
{
@ -154,6 +153,7 @@ void DBPriceUpdater::updatePrices()
q = "";
}
}
}
if(q.length() > 0)
urls.append(base + q);