mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-01 14:00:06 +00:00
Handled edgecase of shell peer disconnecting
- minor refactor of shell client, added shellC_isShellOpen()
This commit is contained in:
@@ -18,6 +18,8 @@ typedef struct sShell_client {
|
||||
int peerTblCap;
|
||||
} tShell_client;
|
||||
|
||||
#define shellC_isShellOpen(x) (x->openShell != NULL)
|
||||
|
||||
void shellC_init(tShell_client *client);
|
||||
void shellC_cleanup(tShell_client *client);
|
||||
|
||||
|
Reference in New Issue
Block a user