diff --git a/src/reports.c b/src/reports.c index cd6a29e..44758b6 100644 --- a/src/reports.c +++ b/src/reports.c @@ -1794,7 +1794,10 @@ int print_datatables(struct configTag *ct, int arch) { logmsg(LOG_DEBUG,"writing deps files (1)"); struct providedList* provided = ct->providedlist_idx[arch][0]; while (provided) { - if (!strncmp("debuginfo(build-id)", provided->name, 20)) continue; + if (!strncmp("debuginfo(build-id)", provided->name, 20)) { + provided = provided->next; + continue; + } nonobsoletednumproviders=0; for (i = 0; i < provided->numproviders; i++) { // skip duplicated provides @@ -1856,11 +1859,11 @@ int print_datatables(struct configTag *ct, int arch) { fprintf(fs,": _%s\n",provided->provider[i]->sourceheader->name); } } else { - fprintf_depstable_filtered_var(fd,provided->name); - fprintf(fd,": "); - fprintf(fd,"__missing_provider_for_"); - fprintf_depstable_filtered_var(fd,provided->name); - fprintf(fd,"\n"); + fprintf_depstable_filtered_var(fd,provided->name); + fprintf(fd,": "); + fprintf(fd,"__missing_provider_for_"); + fprintf_depstable_filtered_var(fd,provided->name); + fprintf(fd,"\n"); } provided = provided->next; }