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

This commit is contained in:
rubidium
2009-05-19 21:25:20 +00:00
parent 789999ecf3
commit 1daa10520c

View File

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