[gnome-terminal] Fix thinko in http_proxy user handling



commit 5f0d4ba7037f5083eeb215d9bdc619a23d2ea151
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Dec 11 07:46:25 2009 -0500

    Fix thinko in http_proxy user handling

 src/terminal-screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 664e6b4..8892ab7 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1465,7 +1465,7 @@ get_child_environment (TerminalScreen *screen,
 					      "/authentication_password",
 					      NULL);
 
-	  if (user && user != '\0')
+	  if (user && *user != '\0')
             {
               if (password)
                 auth = g_strdup_printf ("%s:%s", user, password);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]