Removed some dead code in SCinter

Loglisten showed to much stuff, no filtering. Filtering added.
This commit is contained in:
2016-11-21 13:37:10 +01:00
parent f2aa76b396
commit c39f96c253
2 changed files with 5 additions and 14 deletions

View File

@ -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);