- if (verbose > 2) {
- rprintf(FINFO, "[%s] add_exclude(%.*s, %s%s)\n",
- who_am_i(), pat_len, cp,
- listp->debug_type,
- incl ? "include" : "exclude");
- }
+ make_exclude(listp, cp, pat_len, mflags);
+
+ if (verbose > 2) {
+ rprintf(FINFO, "[%s] add_exclude(%.*s, %s%sclude)\n",
+ who_am_i(), (int)pat_len, cp, listp->debug_type,
+ mflags & MATCHFLG_INCLUDE ? "in" : "ex");