[vlc-commits] vlc_credential: don't reset username if credential is not valid

Thomas Guillem git at videolan.org
Fri Feb 26 10:59:17 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 25 18:37:37 2016 +0100| [0d98d715b9348ff9bc7db35d0cb34d111cbaadeb] | committer: Thomas Guillem

vlc_credential: don't reset username if credential is not valid

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

 src/misc/keystore.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/keystore.c b/src/misc/keystore.c
index aa05f04..6f31eb2 100644
--- a/src/misc/keystore.c
+++ b/src/misc/keystore.c
@@ -196,7 +196,7 @@ is_credential_valid(vlc_credential *p_credential)
         return true;
     else
     {
-        p_credential->psz_username = p_credential->psz_password = NULL;
+        p_credential->psz_password = NULL;
         return false;
     }
 



More information about the vlc-commits mailing list