strcat(tusr,"/sarg-users");
if((fp_in=fopen(wger,"r"))==NULL) {
- debuga(_("(email) Cannot open file: %s\n"),wger);
+ debuga(_("(email) Cannot open file %s\n"),wger);
exit(1);
}
if((fp_top1=fopen(top1,"w"))==NULL) {
- debuga(_("(email) Cannot open file: %s\n"),top1);
+ debuga(_("(email) Cannot open file %s\n"),top1);
exit(1);
}
if((fp_top2=fopen(top2,"w"))==NULL) {
- debuga(_("SARG: (email) Cannot open file: %s\n"),top2);
+ debuga(_("(email) Cannot open file %s\n"),top2);
exit(1);
}
unlink(top2);
if((fp_top1=fopen(top1,"a"))==NULL) {
- fprintf(stderr, "SARG: (email) %s: %s\n",_("Cannot open file"),top1);
+ debuga(_("(email) Cannot open file %s\n"),top1);
exit(1);
}
#if defined(__FreeBSD__)
strcat(arqper,"/sarg-period");
if ((fp_in = fopen(arqper, "r")) == 0){
- fprintf(stderr, "SARG: (email) %s: %s\n",_("Cannot open file"),arqper);
+ debuga(_("(email) Cannot open file %s\n"),arqper);
exit(1);
}
if (!fgets(period,sizeof(period),fp_in)) {
- fprintf(stderr,"SARG: (email) read error in %s\n",arqper);
+ debuga(_("(email) read error in %s\n"),arqper);
exit(1);
}
fclose(fp_in);
if((fp_top1=fopen(top1,"r"))==NULL) {
- fprintf(stderr, "SARG: (email) %s: %s\n",_("Cannot open file"),top1);
+ debuga(_("(email) Cannot open file %s\n"),top1);
exit(1);
}
if((fp_top3=fopen(top3,"w"))==NULL) {
- fprintf(stderr, "SARG: (email) %s: %s\n",_("Cannot open file"),top3);
+ debuga(_("(email) Cannot open file %s\n"),top3);
exit(1);
}
if(strcmp(email,"stdout") == 0) {
if((fp_top3=fopen(top3,"r"))==NULL) {
- debuga(_("(email) Cannot open file: %s\n"),top3);
+ debuga(_("(email) Cannot open file %s\n"),top3);
exit(1);
}