1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-03 23:00:18 +00:00

Added LibSodium, new tools/, genKey, sLaika_peer::type

- sLaika_peer has a new member, (PEERTYPE)type
- LibSodium dependency added
This commit is contained in:
2022-01-27 13:36:36 -06:00
parent af05611914
commit 203b5ce38f
18 changed files with 946 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ void laikaC_freeCNC(struct sLaika_cnc *cnc) {
}
void laikaC_killPeer(struct sLaika_cnc *cnc, struct sLaika_peer *peer) {
printf("peer %x killed!\n", peer);
LAIKA_DEBUG("peer %x killed!\n", peer);
laikaP_rmvSock(&cnc->pList, (struct sLaika_socket*)peer);
laikaS_freePeer(peer);
}
@@ -90,7 +90,7 @@ bool laikaC_pollPeers(struct sLaika_cnc *cnc, int timeout) {
/* add to our pollList */
laikaP_addSock(&cnc->pList, &peer->sock);
printf("new peer %x!\n", peer);
LAIKA_DEBUG("new peer %x!\n", peer);
continue;
}