continue;
// exclude_string
- exstring=0;
if(ExcludeString[0] != '\0') {
+ exstring=0;
getword_start(&gwarea,ExcludeString);
while(strchr(gwarea.current,':') != 0) {
if (getword_multisep(val1,sizeof(val1),&gwarea,':')<0) {
- printf("SARG: Maybe you have a broken record or garbage in your exclusion string.\n");
+ debuga(_("Maybe you have a broken record or garbage in your exclusion string"));
exit(1);
}
if((str=(char *) strstr(linebuf,val1)) != (char *) NULL )
}
if((str=(char *) strstr(linebuf,gwarea.current)) != (char *) NULL )
exstring++;
+ if(exstring) continue;
}
- if(exstring) continue;
totregsl++;
if(debugm)
getword_start(&gwarea,linebuf);
// remove the #Fields: column at the beginning of the line
if (getword_skip(1000,&gwarea,' ')<0){
- printf("SARG: Maybe you have a broken record or garbage in your %s file.\n",arq);
+ debuga(_("Maybe you have a broken record or garbage in your %s file"),arq);
exit(1);
}
for (ncols=0 ; ncols<ISACOL_Last ; ncols++) cols[ncols]=-1;
}
if (cols[ISACOL_Ip]>=0) {
isa_ncols=ncols;
- for (isa_ncols=0 ; isa_ncols<ncols ; isa_ncols++)
- isa_cols[isa_ncols]=cols[isa_ncols];
+ for (ncols=0 ; ncols<ISACOL_Last ; ncols++)
+ isa_cols[ncols]=cols[ncols];
}
continue;
}