Commit fd0ac359 authored by Thomas Guillem's avatar Thomas Guillem

dsm: fix use of invalid pointer

login is valid only if vlc_credential_get returned true
parent 5eb91bcb
......@@ -355,8 +355,7 @@ static int login( access_t *p_access )
goto success;
msg_Err( p_access, "Unable to login with username = '%s', domain = '%s'",
psz_login, psz_domain );
msg_Err( p_access, "Unable to login" );
goto error;
else if( smb_session_is_guest( p_sys->p_session ) == 1 )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment