diff options
author | Richard Sharpe <sharpe@samba.org> | 1998-09-26 00:41:20 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 1998-09-26 00:41:20 +0000 |
commit | 1ea570da834fa72c88dd35a86fdf68ae5ecbeb19 (patch) | |
tree | 855795a3af97e4042601cb49c0aba45896635dbe /source3/client | |
parent | 5f7ee360567a6b4e1a6f43ff01da057d2998fef8 (diff) | |
download | samba-1ea570da834fa72c88dd35a86fdf68ae5ecbeb19.tar.gz samba-1ea570da834fa72c88dd35a86fdf68ae5ecbeb19.tar.bz2 samba-1ea570da834fa72c88dd35a86fdf68ae5ecbeb19.zip |
Small update to clitar.c to omit warnings about servers not
letting us change the date unless tar_real_noisy is True.
Also updated a few places where variables are declared but not set.
(This used to be commit b46f1024c939ee9ecb8deb9c844acbd4b5f109c6)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/clitar.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index 4d7a2cf043..afcd4b9f1d 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -106,7 +106,7 @@ BOOL tar_system=True; BOOL tar_hidden=True; /* Be noisy - make a catalogue */ BOOL tar_noisy=True; -BOOL tar_real_noisy=True; +BOOL tar_real_noisy=False; /* Don't want to be really noisy by default */ char tar_type='\0'; static char **cliplist=NULL; @@ -1723,9 +1723,10 @@ static int get_file(file_info2 finfo, char * inbuf, char * outbuf) if (!do_setrtime(finfo.name, finfo.mtime, True)) { - DEBUG(0, ("Could not set time on file: %s\n", finfo.name)); - /*return(False); */ /* Ignore, as Win95 does not allow changes */ - + if (tar_real_noisy) { + DEBUG(0, ("Could not set time on file: %s\n", finfo.name)); + /*return(False); */ /* Ignore, as Win95 does not allow changes */ + } } ntarf++; |