diff options
author | Christian Ambach <ambi@samba.org> | 2016-02-04 21:39:47 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2016-02-05 12:10:16 +0100 |
commit | da2aae933e3964aafce05c74755244e0f2b4d982 (patch) | |
tree | 04bbbbdabf750029440b1d24defc45ae6a7846ba /source3/utils/smbget.c | |
parent | 64121471f98cfeaf48b701b3b85614a7436d3da9 (diff) | |
download | samba-da2aae933e3964aafce05c74755244e0f2b4d982.tar.gz |
s3:utils/smbget set default blocksize
this got lost in the recent refactorings and causes problems
when smbget attempts to use a zero byte read buffer
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Feb 5 12:10:16 CET 2016 on sn-devel-144
Diffstat (limited to 'source3/utils/smbget.c')
-rw-r--r-- | source3/utils/smbget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c index 417ed844357..91809d1d245 100644 --- a/source3/utils/smbget.c +++ b/source3/utils/smbget.c @@ -57,7 +57,7 @@ struct opt { bool update; int debuglevel; }; -static struct opt opt; +static struct opt opt = { .blocksize = SMB_DEFAULT_BLOCKSIZE }; static bool smb_download_file(const char *base, const char *name, bool recursive, bool resume, bool toplevel, |