reports: trivial fix for previous commit
This commit is contained in:
parent
27b05fffa1
commit
4e6ad6d365
@ -2069,7 +2069,7 @@ print_datatables(struct configTag *ct, int arch) {
|
||||
fprintf(fbsh,"%s",currchild->name);
|
||||
fprintf(fb," %s",currchild->name);
|
||||
for (i = 0; i < currchild->obsoletecount; i++ ) {
|
||||
if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) break;
|
||||
if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) continue;
|
||||
if (strlen(obsoletebuf) + strlen(currchild->obsoletename[i]) >= PATH_MAX - 2) {
|
||||
logmsg(LOG_WARNING, "%s: reached obsoletebuf maximum size (%d); skipping further obsoletes in output file",
|
||||
currheadersourcelist->name, PATH_MAX);
|
||||
|
Loading…
Reference in New Issue
Block a user