(svn r16361) -Fix: pointer incremented with wrong count

This commit is contained in:
rubidium 2009-05-19 21:25:20 +00:00
parent 9f4d64bda0
commit 26070726ac

View File

@ -187,7 +187,7 @@ void ClientNetworkContentSocketHandler::RequestContentList(uint count, const Con
this->Send_Packet(p);
count -= p_count;
content_ids += count;
content_ids += p_count;
}
}
@ -271,7 +271,7 @@ void ClientNetworkContentSocketHandler::DownloadSelectedContent(uint &files, uin
this->Send_Packet(p);
count -= p_count;
content_ids += count;
content_ids += p_count;
}
free(ids);