Fixed small problem.

This commit is contained in:
irungentoo 2013-09-04 07:26:30 -04:00
parent 36ac8e461e
commit 31f43799e1

View File

@ -737,14 +737,14 @@ static void receive_crypto(Net_Crypto *c)
crypto_kill(c, i);
return;
}
} else if (id_packet(c->lossless_udp, c->crypto_connections[i].number) != -1)
} else if (id_packet(c->lossless_udp, c->crypto_connections[i].number) != -1) {
/* This should not happen, kill the connection if it does. */
crypto_kill(c, i);
return;
}
}
}
}
/* Run this to (re)initialize net_crypto.
* Sets all the global connection variables to their default values.