diff options
author | Wayne Davison <wayned@samba.org> | 2004-04-22 08:41:03 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-04-22 08:41:03 +0000 |
commit | 24e1569f8b6cbd072e986502111bac2773e920e8 (patch) | |
tree | 80d7325ccc4df6c23f4843382ceb423965df2856 | |
parent | de31639fffcb303ae41aa727e0633d488863d1de (diff) | |
download | rsync-24e1569f8b6cbd072e986502111bac2773e920e8.tar.gz |
The debug output for add_exclude() now needs to limit the pattern to
print only "pat_len" chars.
-rw-r--r-- | exclude.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } } |