Commit d9f68c8c authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix return value after the interaction dialog has been used.

parent 607bbaf1
......@@ -479,6 +479,7 @@ createnew:
}
describe:
msg_Info( p_demux, "[%s] user=%s pwd=%s", psz_url, psz_user, psz_pwd );
authenticator.setUsernameAndPassword( (const char*)psz_user,
(const char*)psz_pwd );
......@@ -513,11 +514,12 @@ describe:
&psz_login, &psz_password );
if( i_ret == DIALOG_OK_YES )
{
msg_Dbg( p_demux, "retrying with user=%s, pwd=%s",
psz_login, psz_password );
if( psz_login ) psz_user = psz_login;
if( psz_password ) psz_pwd = psz_password;
goto describe;
msg_Dbg( p_demux, "retrying with user=%s, pwd=%s",
psz_login, psz_password );
if( psz_login ) psz_user = psz_login;
if( psz_password ) psz_pwd = psz_password;
i_ret = VLC_SUCCESS;
goto describe;
}
if( psz_login ) free( psz_login );
if( psz_password ) free( psz_password );
......
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