Fixed bug in Lossless UDP.

This commit is contained in:
irungentoo 2013-09-19 10:18:43 -04:00
parent 993554bdf6
commit 7e5da03637

View File

@ -685,7 +685,7 @@ static int handle_SYNC3(Lossless_UDP *ludp, int connection_id, uint8_t counter,
for (i = 0; i < number; ++i) {
temp = ntohl(req_packets[i]);
memcpy(connection->req_packets + i, &temp, 4 * number);
memcpy(connection->req_packets + i, &temp, sizeof(uint32_t));
}
connection->num_req_paquets = number;