Redirect asynnet.c logging from stdout to SICS log

This commit is contained in:
Douglas Clowes
2014-10-14 10:49:46 +11:00
parent 3ad3bf3524
commit 61b1dcb4a5

View File

@ -1348,7 +1348,7 @@ static int TelnetAcceptCB(int handle, void *userData)
static void NREADlog(int level, char *txt, void *userData)
{
traceSys("anet",txt);
puts(txt);
SICSLogWrite(txt, (level == ANETERROR) ? eLogError : eLog);
}
/*------------------------------------------------------------------------------------*/