small fix: moving the url length check in the inner loop
This commit is contained in:
parent
b40abfa1ad
commit
49b3568b53
1 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue