[gnome-terminal] Bug 609459 - no_proxy final comma breaks wget
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Bug 609459 - no_proxy final comma breaks wget
- Date: Tue, 9 Feb 2010 23:45:18 +0000 (UTC)
commit c3ed02adadafa1a07393f64a6d4065de15149601
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Feb 9 18:44:34 2010 -0500
Bug 609459 - no_proxy final comma breaks wget
src/terminal-screen.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 99e9754..c081443 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1430,8 +1430,9 @@ setup_http_proxy_env (GHashTable *env_table, GConfClient *conf)
{
GSList *old;
+ if (buf->len)
+ g_string_append_c (buf, ',');
g_string_append (buf, ignore->data);
- g_string_append_c (buf, ',');
old = ignore;
ignore = g_slist_next (ignore);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]