mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-12 03:17:09 -04:00
No need to pass a debug string to check_exclude() anymore.
This commit is contained in:
3
util.c
3
util.c
@@ -476,8 +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,
|
||||
"server pattern")) {
|
||||
if (check_exclude(&server_exclude_list, arg, 1)) {
|
||||
/* We must leave arg truncated! */
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user