1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(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

@@ -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);