mirror of
https://github.com/CPunch/Laika.git
synced 2026-04-07 08:10:03 +00:00
Removed unused content streams
This commit is contained in:
@@ -28,13 +28,10 @@ struct sLaika_peer *laikaS_newPeer(struct sLaika_peerPacketInfo *pktTbl, struct
|
||||
memset(peer->inet, 0, LAIKA_INET_LEN);
|
||||
memset(peer->ipStr, 0, LAIKA_IPSTR_LEN);
|
||||
|
||||
/* init content context */
|
||||
laikaF_initContext(&peer->context);
|
||||
return peer;
|
||||
}
|
||||
|
||||
void laikaS_freePeer(struct sLaika_peer *peer) {
|
||||
laikaF_cleanContext(&peer->context);
|
||||
laikaS_cleanSocket(&peer->sock);
|
||||
laikaM_free(peer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user