exit(EXIT_FAILURE);
}
if((fp_in=fopen(smart_ou,"r"))==NULL) {
- debuga(_("(smartfilter) Cannot open log file %s: %s\n"),smart_ou,strerror(errno));
+ debuga(_("Cannot open file \"%s\": %s\n"),smart_ou,strerror(errno));
debuga(_("sort command: %s\n"),csort);
exit(EXIT_FAILURE);
}
}
if((fp_ou=fopen(report,"w"))==NULL) {
- debuga(_("(smartfilter) Cannot open log file %s: %s\n"),report,strerror(errno));
+ debuga(_("Cannot open file \"%s\": %s\n"),report,strerror(errno));
exit(EXIT_FAILURE);
}
}
fputs("</body>\n</html>\n",fp_user);
if (fclose(fp_user)==EOF) {
- debuga(_("Write error in %s: %s\n"),smartuser,strerror(errno));
+ debuga(_("Write error in \"%s\": %s\n"),smartuser,strerror(errno));
exit(EXIT_FAILURE);
}
fp_user=NULL;
}
if ((fp_user = fopen(smartuser, "a")) == 0) {
- debuga(_("(smartfilter) Cannot open file %s: %s\n"),smartuser,strerror(errno));
+ debuga(_("Cannot open file \"%s\": %s\n"),smartuser,strerror(errno));
exit(EXIT_FAILURE);
}
fputs("</body>\n</html>\n",fp_user);
if (fclose(fp_ou)==EOF) {
- debuga(_("Write error in %s: %s\n"),report,strerror(errno));
+ debuga(_("Write error in \"%s\": %s\n"),report,strerror(errno));
exit(EXIT_FAILURE);
}
if(fp_user) {
}
fputs("</body>\n</html>\n",fp_user);
if (fclose(fp_user)==EOF) {
- debuga(_("Write error in %s: %s\n"),smartuser,strerror(errno));
+ debuga(_("Write error in \"%s\": %s\n"),smartuser,strerror(errno));
exit(EXIT_FAILURE);
}
}