diff --git a/trace.c b/trace.c index fea2cdc6..1d645753 100644 --- a/trace.c +++ b/trace.c @@ -207,20 +207,6 @@ static int strrepc(char *pszStr, char cFrom, char cTo) /*-----------------------------------------------------------------*/ void traceprint(char *sub, char *id, char *data) { - /* char *mysub, *myid, *mydata; */ - - /* if(logFD != NULL && filter(sub,id)){ */ - /* mysub = strdup(sub); */ - /* myid = strdup(id); */ - /* mydata = strdup(data); */ - /* strrepc(mydata,'\n',':'); */ - /* strrepc(mysub,':','@'); */ - /* strrepc(myid,':','@'); */ - /* fprintf(logFD,"%s:%s:%lf:%s\n",mysub,myid,DoubleTime(),mydata); */ - /* free(mysub); */ - /* free(myid); */ - /* free(mydata); */ - /* } */ unsigned int severity; if(strstr(data,"ERROR") != NULL){