summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-05 08:44:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:50:33 -0500
commitb087ed482115520a6c18e9a1c02accce0014d80f (patch)
treef09ebda34baf5cef9c8a28882b8064681babf7b9 /source4/client
parentc424c2b857fe08587eb81a5c5e3625545119d1c2 (diff)
downloadsamba-b087ed482115520a6c18e9a1c02accce0014d80f.tar.gz
samba-b087ed482115520a6c18e9a1c02accce0014d80f.tar.bz2
samba-b087ed482115520a6c18e9a1c02accce0014d80f.zip
r23: get rid of def_finfo
(This used to be commit 25b7ec390aec3e324c4c7ad8edbc90fc8896b230)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c2
-rw-r--r--source4/client/clitar.c10
2 files changed, 1 insertions, 11 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index fef258a6b2..61d52b82d9 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -82,8 +82,6 @@ static BOOL abort_mget = True;
static pstring fileselection = "";
-extern file_info def_finfo;
-
/* timing globals */
SMB_BIG_UINT get_total_size = 0;
unsigned int get_total_time_ms = 0;
diff --git a/source4/client/clitar.c b/source4/client/clitar.c
index da91ba4beb..356709b915 100644
--- a/source4/client/clitar.c
+++ b/source4/client/clitar.c
@@ -109,7 +109,6 @@ static char **cliplist=NULL;
static int clipn=0;
static BOOL must_free_cliplist = False;
-extern file_info def_finfo;
extern BOOL lowercase;
extern uint16 cnum;
extern BOOL readbraw_supported;
@@ -624,14 +623,7 @@ static void do_atar(char *rname,char *lname,file_info *finfo1)
finfo.name = finfo1 -> name;
}
else {
- finfo.size = def_finfo.size;
- finfo.mode = def_finfo.mode;
- finfo.uid = def_finfo.uid;
- finfo.gid = def_finfo.gid;
- finfo.mtime = def_finfo.mtime;
- finfo.atime = def_finfo.atime;
- finfo.ctime = def_finfo.ctime;
- finfo.name = def_finfo.name;
+ ZERO_STRUCT(finfo);
}
if (dry_run)