Removed some dead code from trace.c

This commit is contained in:
2016-11-25 08:31:18 +01:00
parent 3fda3d9864
commit 6f4ae14e8f

14
trace.c
View File

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