Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got rid of zlib/dummy ("dummy" is in the zlib .cvsignore, where it
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
d197a5f
..
5c55ce4
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-28,6
+28,7
@@
#include "rsync.h"
extern int verbose;
#include "rsync.h"
extern int verbose;
+extern struct exclude_list_struct server_exclude_list;
int sanitize_paths = 0;
int sanitize_paths = 0;
@@
-471,12
+472,12
@@
int lock_range(int fd, int offset, int len)
static int exclude_server_path(char *arg)
{
char *s;
static int exclude_server_path(char *arg)
{
char *s;
- extern struct exclude_struct **server_exclude_list;
- if (server_exclude_list) {
+ if (server_exclude_list
.head
) {
for (s = arg; (s = strchr(s, '/')) != NULL; ) {
*s = '\0';
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,
+ "server pattern")) {
/* We must leave arg truncated! */
return 1;
}
/* We must leave arg truncated! */
return 1;
}