From 24e1569f8b6cbd072e986502111bac2773e920e8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 22 Apr 2004 08:41:03 +0000 Subject: [PATCH] The debug output for add_exclude() now needs to limit the pattern to print only "pat_len" chars. --- exclude.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exclude.c b/exclude.c index d0653bec..fbefcd4d 100644 --- a/exclude.c +++ b/exclude.c @@ -300,8 +300,8 @@ void add_exclude(struct exclude_list_struct *listp, const char *pattern, make_exclude(listp, cp, pat_len, incl); if (verbose > 2) { - rprintf(FINFO, "[%s] add_exclude(%s,%s)\n", - who_am_i(), cp, + rprintf(FINFO, "[%s] add_exclude(%.*s,%s)\n", + who_am_i(), pat_len, cp, incl ? "include" : "exclude"); } } -- 2.34.1