[vlc-commits] dsm: fix guest detection

Thomas Guillem git at videolan.org
Thu May 21 17:10:49 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed May 20 18:48:47 2015 +0200| [f5fb092310f65bcefa412237f1f2694ef191d413] | committer: Thomas Guillem

dsm: fix guest detection

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

 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;



More information about the vlc-commits mailing list