From d9f68c8c673841c8798566fa414ee1d215d1c10f Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Tue, 20 Nov 2007 09:08:21 +0000 Subject: [PATCH] Fix return value after the interaction dialog has been used. --- modules/demux/live555.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 ); -- 2.39.2