#143: store download objects directly in containers

…where possible.
This commit is contained in:
Andrey Prygunkov
2016-01-08 22:29:44 +01:00
parent 17999fb96d
commit 32400a810f
14 changed files with 128 additions and 202 deletions

View File

@@ -506,8 +506,8 @@ bool RemoteClient::RequestServerList(bool files, bool groups, const char* patter
for (NzbParameterList::iterator it = nzbInfo->GetParameters()->begin(); it != nzbInfo->GetParameters()->end(); it++)
{
parameters.Append(parameters.Empty() ? " (" : ", ");
NzbParameter* nzbParameter = *it;
parameters.AppendFmt("%s=%s", nzbParameter->GetName(), nzbParameter->GetValue());
NzbParameter& nzbParameter = *it;
parameters.AppendFmt("%s=%s", nzbParameter.GetName(), nzbParameter.GetValue());
}
if (!parameters.Empty())
{