Removed some dead code from trace.c
This commit is contained in:
14
trace.c
14
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){
|
||||
|
Reference in New Issue
Block a user