[vlc-devel] commit: Don't print the password in the logs (even debug ones). ( Rémi Duraffort )

git version control git at videolan.org
Fri Jun 19 11:08:15 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jun 19 11:07:33 2009 +0200| [5e432a0ded94eed1f38f25adeae64665fdbb6b7a] | committer: Rémi Duraffort 

Don't print the password in the logs (even debug ones).

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

 modules/control/http/util.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/control/http/util.c b/modules/control/http/util.c
index 053e3ff..04a7ef6 100644
--- a/modules/control/http/util.c
+++ b/modules/control/http/util.c
@@ -165,8 +165,7 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
                 password = strdup( p );
             }
         }
-        msg_Dbg( p_intf, "using user=%s password=%s (read=%d)",
-                 user, password, i_size );
+        msg_Dbg( p_intf, "using user=%s (read=%d)", user, i_size );
 
         fclose( file );
     }




More information about the vlc-devel mailing list