[gnome-terminal] Fix same thinko re http_proxy host handling



commit 815156f1541fba142bc93b7770c0463f2492ae2f
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Dec 11 07:47:01 2009 -0500

    Fix same thinko re http_proxy host 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 8892ab7..3736983 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1479,7 +1479,7 @@ get_child_environment (TerminalScreen *screen,
 
       g_object_unref (conf);
 
-      if (port && host && host != '\0')
+      if (port && host && *host != '\0')
 	{
 	  if (auth)
             g_hash_table_replace (env_table, g_strdup ("http_proxy"),



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