The debug output for add_exclude() now needs to limit the pattern to
print only "pat_len" chars.
This commit is contained in:
@@ -300,8 +300,8 @@ void add_exclude(struct exclude_list_struct *listp, const char *pattern,
|
|||||||
make_exclude(listp, cp, pat_len, incl);
|
make_exclude(listp, cp, pat_len, incl);
|
||||||
|
|
||||||
if (verbose > 2) {
|
if (verbose > 2) {
|
||||||
rprintf(FINFO, "[%s] add_exclude(%s,%s)\n",
|
rprintf(FINFO, "[%s] add_exclude(%.*s,%s)\n",
|
||||||
who_am_i(), cp,
|
who_am_i(), pat_len, cp,
|
||||||
incl ? "include" : "exclude");
|
incl ? "include" : "exclude");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user