X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/acfcfa70538df76cfa7f95082a9d0231fcf669dd..b084f9e092159b03c955312b0c90fe95eb490b2f:/util.c diff --git a/util.c b/util.c index be639e44..327dd91d 100644 --- a/util.c +++ b/util.c @@ -476,7 +476,7 @@ static int exclude_server_path(char *arg) if (server_exclude_list.head) { for (s = arg; (s = strchr(s, '/')) != NULL; ) { *s = '\0'; - if (check_exclude(&server_exclude_list, arg, 1)) { + if (check_exclude(&server_exclude_list, arg, 1) < 0) { /* We must leave arg truncated! */ return 1; } @@ -805,7 +805,6 @@ char *alloc_sanitize_path(const char *path, const char *rootdir) rlen--; buf[rlen] = '\0'; } - fprintf(stderr, "p:`%s'\n", buf); return buf; }