]> git.sesse.net Git - vlc/commitdiff
Never print the password in the logs.
authorRémi Duraffort <ivoire@videolan.org>
Fri, 19 Jun 2009 09:14:36 +0000 (11:14 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 19 Jun 2009 09:18:27 +0000 (11:18 +0200)
modules/access/http.c
modules/access/rtmp/access.c
modules/access_output/rtmp.c
modules/demux/live555.cpp

index d6cb6334a8c2048fd85a47ddfc4a058608b669f0..234a2499766b58c1559c5803dc6dc81b8f5d39f0 100644 (file)
@@ -452,14 +452,7 @@ connect:
                       p_sys->auth.psz_realm );
         if( psz_login != NULL && psz_password != NULL )
         {
-            msg_Dbg( p_access, "retrying with user=%s, pwd=%s",
-                     psz_login,
-#if 1
-                     "yeah right, like we're going to print a password."
-#else
-                     psz_password
-#endif
-                );
+            msg_Dbg( p_access, "retrying with user=%s", psz_login );
             p_sys->url.psz_username = psz_login;
             p_sys->url.psz_password = psz_password;
             Disconnect( p_access );
index 57e9238dd95b0e2f8b5df44e0b5a363f4f14da35..a8613db57c2d4bbd1b1e5eee7b61fc66d73c300a 100644 (file)
@@ -128,8 +128,7 @@ static int Open( vlc_object_t *p_this )
 
     if( p_sys->p_thread->url.psz_username && *p_sys->p_thread->url.psz_username )
     {
-        msg_Dbg( p_access, "      user='%s', pwd='%s'",
-                 p_sys->p_thread->url.psz_username, p_sys->p_thread->url.psz_password );
+        msg_Dbg( p_access, "      user='%s'", p_sys->p_thread->url.psz_username );
     }
 
     /* Initialize thread variables */
index b0937d7988e5e358fdf4577cdacdfa6b9275262e..eac532bc131d2c7d8b73ee8bb299b28470c9211a 100644 (file)
@@ -136,8 +136,7 @@ static int Open( vlc_object_t *p_this )
 
     if( p_sys->p_thread->url.psz_username && *p_sys->p_thread->url.psz_username )
     {
-        msg_Dbg( p_access, "      user='%s', pwd='%s'",
-                 p_sys->p_thread->url.psz_username, p_sys->p_thread->url.psz_password );
+        msg_Dbg( p_access, "      user='%s'", p_sys->p_thread->url.psz_username );
     }
 
     /* Initialize thread variables */
index ae1dd9bc469930d9486875390f8601baa93ae72f..9287f8367e861f68105c4b0860cf79eb66ebaec2 100644 (file)
@@ -620,8 +620,7 @@ describe:
                         _("Please enter a valid login name and a password.") );
             if( psz_user != NULL && psz_pwd != NULL )
             {
-                msg_Dbg( p_demux, "retrying with user=%s, pwd=%s",
-                         psz_user, psz_pwd );
+                msg_Dbg( p_demux, "retrying with user=%s", psz_user );
                 goto describe;
             }
         }