mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:modules: fix the picky-developer build of vfs_virusfilter.c on FreeBSD 11
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13344 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bjacke@samba.org>
This commit is contained in:
parent
dc160247d1
commit
fb7b67af98
@ -275,8 +275,9 @@ static int virusfilter_vfs_connect(
|
||||
temp_quarantine_dir_mode = lp_parm_const_string(
|
||||
snum, "virusfilter", "quarantine directory mode", "0755");
|
||||
if (temp_quarantine_dir_mode != NULL) {
|
||||
sscanf(temp_quarantine_dir_mode, "%o",
|
||||
&config->quarantine_dir_mode);
|
||||
unsigned int mode = 0;
|
||||
sscanf(temp_quarantine_dir_mode, "%o", &mode);
|
||||
config->quarantine_dir_mode = mode;
|
||||
}
|
||||
|
||||
config->quarantine_prefix = lp_parm_const_string(
|
||||
|
Loading…
Reference in New Issue
Block a user