From 59722a5fc5f62e402eb813011bddd7a07ae03c7f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 28 Apr 2013 15:11:58 -0700 Subject: [PATCH] core: Print timezone information if available from server --- src/wispr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wispr.c b/src/wispr.c index cf5f7c4..9480094 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -445,6 +445,10 @@ static void portal_manage_status(GWebResult *result, &str) == TRUE) connman_info("Client-Region: %s", str); + if (g_web_result_get_header(result, "X-ConnMan-Client-Timezone", + &str) == TRUE) + connman_info("Client-Timezone: %s", str); + free_connman_wispr_portal_context(wp_context); __connman_service_ipconfig_indicate_state(service, -- 2.7.4