//
// Skip chunks
//
- while(!isspace(*p) && &p) p++;
+ while(!isspace(*p) && *p) p++;
if (!*p) return(NULL);
}
while(1);
// Send to logfile
//
if (NULL != g_pfLogfile) {
- fprintf(g_pfLogfile, buf);
+ fprintf(g_pfLogfile, "%s", buf);
}
//
// Send to stdout
//
- fprintf(stdout, buf);
+ fprintf(stdout, "%s", buf);
fflush(stdout);
}
// Send to logfile
//
if (NULL != g_pfLogfile) {
- fprintf(g_pfLogfile, buf);
+ fprintf(g_pfLogfile, "%s", buf);
fflush(g_pfLogfile);
}
}
// Send it to logfile
//
if (NULL != g_pfLogfile) {
- fprintf(g_pfLogfile, buf);
+ fprintf(g_pfLogfile, "%s", buf);
fflush(g_pfLogfile);
}
//
// Send it to stderr
//
- fprintf(stderr, buf);
+ fprintf(stderr, "%s", buf);
fflush(stderr);
}