1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

smbd: Early return from dos_mode_debug_print

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2015-11-17 13:49:30 +01:00 committed by Jeremy Allison
parent b367dbc7bd
commit b8467dc492

View File

@ -35,6 +35,10 @@ static void dos_mode_debug_print(const char *func, uint32_t mode)
{
fstring modestr;
if (DEBUGLEVEL < DBGLVL_INFO) {
return;
}
modestr[0] = '\0';
if (mode & FILE_ATTRIBUTE_HIDDEN) {