From: Guillem Jover Date: Sat, 28 Jun 2008 08:48:23 +0000 (+0300) Subject: Do not print repeated debug information X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496d0aa81fa0ad34307632340871bf0bf8c7516d;p=dpkg Do not print repeated debug information --- diff --git a/src/filters.c b/src/filters.c index b986f023..97be9419 100644 --- a/src/filters.c +++ b/src/filters.c @@ -144,6 +144,10 @@ do_filter_should_skip(struct TarInfo *ti) } if (remove) { + debug(dbg_eachfile, + "tarobject seeing if '%s' needs to be reincluded", + &ti->Name[1]); + for (f = filters; f != NULL; f = f->next) { char *pattern; @@ -151,9 +155,6 @@ do_filter_should_skip(struct TarInfo *ti) strcpy(pattern, &ti->Name[1]); strcat(pattern, "*"); - debug(dbg_eachfile, - "tarobject seeing if '%s' needs to be reincluded", - &ti->Name[1]); if ((f->positive == 1) && (ti->Type == Directory) && (fnmatch(pattern, f->filterstring, 0) == 0)) {