From 4012e32603c2992e3f46e3b0b575ff9f7d319777 Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Sun, 19 Jul 2015 13:17:39 +0900 Subject: [PATCH] skin_client: added handling routine when proxy_addr has empty string Change-Id: I5fffda62b7bc53d3f38c5c04698d9c65f18eb52b Signed-off-by: SeokYeon Hwang --- tizen/src/skin/maruskin_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tizen/src/skin/maruskin_client.c b/tizen/src/skin/maruskin_client.c index 1230b23..9691ec1 100644 --- a/tizen/src/skin/maruskin_client.c +++ b/tizen/src/skin/maruskin_client.c @@ -136,11 +136,11 @@ static void *run_skin_client(void *arg) } /* network */ - gchar const* proxy_addr = NULL; + const char *proxy_addr = NULL; int proxy_addr_len = 0; const char *http_proxy = get_http_proxy_addr(); - if (http_proxy == NULL) { + if (!http_proxy || !g_strcmp0("", http_proxy)) { proxy_addr = g_strdup_printf("%s= %s=", OPT_PROXY_ADDR, OPT_PROXY_PORT); proxy_addr_len = (int)strlen(proxy_addr); -- 2.7.4