From: Jean-Paul Saman Date: Tue, 20 Nov 2007 09:08:21 +0000 (+0000) Subject: Fix return value after the interaction dialog has been used. X-Git-Tag: 0.9.0-test0~4494 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d9f68c8c673841c8798566fa414ee1d215d1c10f;p=vlc Fix return value after the interaction dialog has been used. --- diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index 6fc5f776f1..bae120c4bc 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -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 );