From 8c35542d1f37d479779de7519494680bf09f4a07 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 5 Feb 2002 00:25:52 +0000 Subject: [PATCH] Patch from wayned so that add_exclude_list produces clearer debugging output with -vvv. --- exclude.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/exclude.c b/exclude.c index a9d32a3e..3fb3ce86 100644 --- a/exclude.c +++ b/exclude.c @@ -201,9 +201,11 @@ void add_exclude_list(const char *pattern, struct exclude_struct ***list, int in if (!*list || !((*list)[len] = make_exclude(pattern, include))) out_of_memory("add_exclude"); - if (verbose > 2) - rprintf(FINFO,"add_exclude(%s)\n",pattern); - + if (verbose > 2) { + rprintf(FINFO,"add_exclude(%s,%s)\n",pattern, + include ? "include" : "exclude"); + } + (*list)[len+1] = NULL; } -- 2.34.1