shell test
This commit is contained in:
parent
77af84f416
commit
118f0349cc
2 changed files with 7 additions and 4 deletions
|
@ -1403,10 +1403,6 @@ int mmnif_close()
|
|||
* - this will stop the polling thread i.e.
|
||||
*/
|
||||
|
||||
/* resources has to be freed here
|
||||
* will be added soon ;)
|
||||
*/
|
||||
|
||||
active = FALSE;
|
||||
#ifdef WIN32
|
||||
free(mmnif->tx_buff);
|
||||
|
|
|
@ -12,9 +12,13 @@ static Client cli;
|
|||
|
||||
static int iamsrv = 0;
|
||||
|
||||
char shellbuffer[512];
|
||||
|
||||
|
||||
#include <metalsvm/stdio.h>
|
||||
|
||||
#define SHELLDEBUGPRINTF(x,...) ksprintf(shellbuffer,x,##__VA_ARGS__);shelldebugprint(shellbuffer);
|
||||
|
||||
void shelldebugprint(char* x)
|
||||
{
|
||||
kprintf("debugprinting");
|
||||
|
@ -66,6 +70,9 @@ void shell_init(int srv_or_cli)
|
|||
cli_init(&cli);
|
||||
while (cli_ConnectTo(&cli,"192.168.0.1",23,0));
|
||||
sleep(1);
|
||||
|
||||
}
|
||||
sleep(3);
|
||||
SHELLDEBUGPRINTF("I AM CORE NO. %d",srv_or_cli);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue