summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
-rw-r--r--source3/client/clitar.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f3cc28cc60..29e23654fb 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1196,7 +1196,7 @@ static int file_find(struct file_list **list, const char *directory,
}
isdir = False;
- if (!match || !ms_fnmatch(expression, dname)) {
+ if (!match || !gen_fnmatch(expression, dname)) {
if (recurse) {
ret = stat(path, &statbuf);
if (ret == 0) {
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 3ae4cafc18..8ce73f6645 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -121,7 +121,6 @@ extern int max_xmit;
extern pstring cur_dir;
extern int get_total_time_ms;
extern int get_total_size;
-extern int Protocol;
int blocksize=20;
int tarhandle;