Removed some dead code in SCinter
Loglisten showed to much stuff, no filtering. Filtering added.
This commit is contained in:
14
SCinter.c
14
SCinter.c
@ -294,20 +294,6 @@ int InterpExecute(SicsInterp * self, SConnection * pCon, char *pText)
|
||||
assert(self);
|
||||
assert(pCon);
|
||||
|
||||
/* write info to Log
|
||||
if (pCon->sockHandle >= 0) {
|
||||
snprintf(pBueffel,1023, "Executing -> %s <- from socket %d", pText,
|
||||
pCon->sockHandle);
|
||||
SICSLogWrite(pBueffel, eCommand);
|
||||
} else {
|
||||
snprintf(pBueffel,1023, "Executing -> %s <- from dummy socket\n", pText);
|
||||
SICSLogWrite(pBueffel, eCommand);
|
||||
}
|
||||
|
||||
TODO: disabled for now. This is a duplication of what is logged in SCInvoke.
|
||||
|
||||
Mark Koennecke, February 2016
|
||||
*/
|
||||
|
||||
if(strstr(pText,tclescape) == pText){
|
||||
return TclExecFunc(pCon,self,NULL,pText);
|
||||
|
Reference in New Issue
Block a user