From: Ralph Boehme Date: Fri, 1 May 2020 14:55:58 +0000 (+0200) Subject: smbd: realign smb_fname_base initialisation in dptr_ReadDirName() X-Git-Tag: ldb-2.2.0~679 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9a6552da3497537328b44ed3a4abfe79996d85f;p=thirdparty%2Fsamba.git smbd: realign smb_fname_base initialisation in dptr_ReadDirName() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 2cd659aab73..ac557ac442b 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -490,7 +490,9 @@ static char *dptr_ReadDirName(TALLOC_CTX *ctx, return NULL; /* Create an smb_filename with stream_name == NULL. */ - smb_fname_base = (struct smb_filename) { .base_name = pathreal }; + smb_fname_base = (struct smb_filename) { + .base_name = pathreal, + }; if (SMB_VFS_STAT(dptr->conn, &smb_fname_base) == 0) { *pst = smb_fname_base.st;