Commit 49b3568b authored by Fabio Bas's avatar Fabio Bas
Browse files

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

parent b40abfa1
...@@ -145,13 +145,13 @@ void DBPriceUpdater::updatePrices() ...@@ -145,13 +145,13 @@ void DBPriceUpdater::updatePrices()
bNotFirst = true; bNotFirst = true;
} }
muidMap.insert(muid, cards[i]); muidMap.insert(muid, cards[i]);
}
if(q.length() > 240) if(q.length() > 240)
{ {
urls.append(base + q); urls.append(base + q);
bNotFirst=false; bNotFirst=false;
q = ""; q = "";
}
} }
} }
if(q.length() > 0) if(q.length() > 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment