[vlc-commits] dsm: also store credentials when there is no share

Thomas Guillem git at videolan.org
Sun Jan 24 12:18:59 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sun Jan 24 11:39:38 2016 +0100| [e39d63e08e93d19d4f44cd7e0a3033a173e037b7] | committer: Thomas Guillem

dsm: also store credentials when there is no share

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

 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 0b9c648..03446b7 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -371,7 +371,7 @@ static int login( access_t *p_access )
 success:
     msg_Warn( p_access, "Creds: username = '%s', domain = '%s'",
              psz_login, psz_domain );
-    if( p_sys->psz_share != NULL && !b_guest )
+    if( !b_guest )
     {
         if( asprintf( &p_sys->psz_user_opt, "smb-user=%s", psz_login ) == -1 )
             p_sys->psz_user_opt = NULL;



More information about the vlc-commits mailing list