break;
case 'l':
if (NAccessLog>=MAXLOGS) {
- debuga(_("Too many log files passed on command line with option -l.\n"));
+ debuga(_("Too many log files passed on command line with option %s.\n"),"-l");
exit(EXIT_FAILURE);
}
if (strlen(optarg)>=MAX_LOG_FILELEN) {
- debuga(_("Log file name too long passed on command line with option -l: %s\n"),optarg);
+ debuga(_("Log file name too long passed on command line with option %s: %s\n"),"-l",optarg);
exit(EXIT_FAILURE);
}
strcpy(AccessLog[NAccessLog],optarg);
break;
case 'L':
if (NRedirectorLogs>MAX_REDIRECTOR_LOGS) {
- debuga(_("Too many redirector logs passed on command line with option -L.\n"));
+ debuga(_("Too many log files passed on command line with option %s.\n"),"-L");
exit(EXIT_FAILURE);
}
if (strlen(optarg)>=MAX_REDIRECTOR_FILELEN) {
- debuga(_("Redirector log file name too long passed on command line with opton -L: %s\n"),optarg);
+ debuga(_("Log file name too long passed on command line with opton %s: %s\n"),"-L",optarg);
exit(EXIT_FAILURE);
}
strcpy(RedirectorLogs[NRedirectorLogs],optarg);