/*
* SARG Squid Analysis Report Generator http://sarg.sourceforge.net
- * 1998, 2013
+ * 1998, 2015
*
* SARG donations:
* please look at http://sarg.sourceforge.net/donations.php
while((buf=longline_read(fp_in,line))!=NULL) {
getword_start(&gwarea,buf);
if (getword(data,sizeof(data),&gwarea,' ')<0) {
- debuga(_("Maybe you have a broken record or garbage in file %s\n"),arq);
+ debuga(_("Invalid record in file \"%s\"\n"),arq);
exit(EXIT_FAILURE);
}
tt=atoi(data);
longline_destroy(&line);
if (fclose(fp_in)==EOF) {
- debuga(_("Failed to close file %s: %s\n"),arq,strerror(errno));
+ debuga(_("Read error in \"%s\": %s\n"),arq,strerror(errno));
exit(EXIT_FAILURE);
}
}