1
0
mirror of https://github.com/CPunch/Laika.git synced 2026-02-06 16:20:03 +00:00

Protected handler calls in bot.c

- Added support for LAIKAPKT_HANDSHAKE_RES
This commit is contained in:
2022-01-25 11:58:36 -06:00
parent 1bccc78117
commit 04f02b4371
8 changed files with 40 additions and 21 deletions

View File

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