Fixed bug.

This commit is contained in:
irungentoo 2013-09-20 11:33:53 -04:00
parent 53397f6077
commit 20b6900fb1

View File

@ -60,7 +60,7 @@ int getconnection_id(Lossless_UDP *ludp, IP_Port ip_port)
* TODO: make this better * TODO: make this better
*/ */
static uint8_t randtable_initget(Lossless_UDP *ludp, uint32_t index, uint8_t value) static uint32_t randtable_initget(Lossless_UDP *ludp, uint32_t index, uint8_t value)
{ {
if (ludp->randtable[index][value] == 0) if (ludp->randtable[index][value] == 0)
ludp->randtable[index][value] = random_int(); ludp->randtable[index][value] = random_int();