[vlc-devel] [PATCH 1/6] dsm: fix guest detection
Thomas Guillem
thomas at gllm.fr
Wed May 20 19:21:53 CEST 2015
---
modules/access/dsm/access.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index 39dc95f..a2e3158 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -419,7 +419,7 @@ static int login( access_t *p_access )
p_sys->creds.login, p_sys->creds.domain );
return VLC_EGENERIC;
}
- else if( smb_session_is_guest( p_sys->p_session ) == 1 )
+ else if( smb_session_is_guest( p_sys->p_session ) )
msg_Warn( p_access, "Login failure but you were logged in as a Guest");
return VLC_SUCCESS;
--
2.1.4
More information about the vlc-devel
mailing list