mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
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
This commit is contained in:
parent
64121471f9
commit
da2aae933e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user