mirror of
https://github.com/CPunch/Laika.git
synced 2026-02-06 00:10:04 +00:00
Protected handler calls in bot.c
- Added support for LAIKAPKT_HANDSHAKE_RES
This commit is contained in:
@@ -7,10 +7,11 @@ int main(int argv, char **argc) {
|
||||
|
||||
while (true) {
|
||||
if (!laikaC_pollPeers(cnc, 1000)) {
|
||||
printf("no events!\n");
|
||||
LAIKA_DEBUG("no events!\n");
|
||||
}
|
||||
}
|
||||
|
||||
printf("cnc killed\n");
|
||||
laikaC_freeCNC(cnc);
|
||||
LAIKA_DEBUG("cnc killed\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user