snprintf(download_unsort,sizeof(download_unsort),"%s/download.int_unsort",tmp);
if ((fp_download=MY_FOPEN(download_unsort,"w"))==NULL) {
- debuga(_("(log) Cannot open file %s: %s\n"),download_unsort,strerror(errno));
+ debuga(_("Cannot open file \"%s\": %s\n"),download_unsort,strerror(errno));
exit(EXIT_FAILURE);
}
return;
if (fp_download)
{
if (fclose(fp_download)==EOF) {
- debuga(_("Write error in %s: %s\n"),download_unsort,strerror(errno));
+ debuga(_("Write error in \"%s\": %s\n"),download_unsort,strerror(errno));
exit(EXIT_FAILURE);
}
fp_download=NULL;
snprintf(report,sizeof(report),"%s/download.html",outdirname);
if((fp_in=MY_FOPEN(report_in,"r"))==NULL) {
- debuga(_("(download) Cannot open log file %s: %s\n"),report_in,strerror(errno));
+ debuga(_("Cannot open file \"%s\": %s\n"),report_in,strerror(errno));
exit(EXIT_FAILURE);
}
if((fp_ou=MY_FOPEN(report,"w"))==NULL) {
- debuga(_("(download) Cannot open log file %s: %s\n"),report,strerror(errno));
+ debuga(_("Cannot open file \"%s\": %s\n"),report,strerror(errno));
exit(EXIT_FAILURE);
}
if (write_html_trailer(fp_ou)<0)
debuga(_("Write error in file %s\n"),report);
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_download) {
if (fclose(fp_download)==EOF) {
- debuga(_("Write error in %s: %s\n"),download_unsort,strerror(errno));
+ debuga(_("Write error in \"%s\": %s\n"),download_unsort,strerror(errno));
exit(EXIT_FAILURE);
}
fp_download=NULL;