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()
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)
......
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