From: Marcel Holtmann Date: Thu, 17 Feb 2011 06:00:35 +0000 (-0800) Subject: portal: Print region information if available X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~1717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b918998019ed669f58bee83b39ef98e370534ee;p=profile%2Fivi%2Fconnman.git portal: Print region information if available --- diff --git a/plugins/portal.c b/plugins/portal.c index b221592..a1d142a 100644 --- a/plugins/portal.c +++ b/plugins/portal.c @@ -77,6 +77,10 @@ static gboolean web_result(GWebResult *result, gpointer user_data) &str) == TRUE) connman_info("Client-Country: %s", str); + if (g_web_result_get_header(result, "X-ConnMan-Client-Region", + &str) == TRUE) + connman_info("Client-Region: %s", str); + connman_location_report_result(location, CONNMAN_LOCATION_RESULT_ONLINE); break;