[vlc-commits] dsm: fix smb_session_is_guest check

Thomas Guillem git at videolan.org
Tue Apr 12 14:24:40 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Apr 12 14:22:46 2016 +0200| [389f7b86c663d753ce74d8eca07b7cf76140f7ae] | committer: Thomas Guillem

dsm: fix smb_session_is_guest check

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=389f7b86c663d753ce74d8eca07b7cf76140f7ae
---

 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 cdff451..14cc496 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -362,7 +362,7 @@ static int login( access_t *p_access )
                  psz_login, psz_domain );
         goto error;
     }
-    else if( smb_session_is_guest( p_sys->p_session )  )
+    else if( smb_session_is_guest( p_sys->p_session ) == 1 )
     {
         msg_Warn( p_access, "Login failure but you were logged in as a Guest");
         b_guest = true;



More information about the vlc-commits mailing list