summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-04-28 22:11:58 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2013-04-28 22:11:58 (GMT)
commit59722a5fc5f62e402eb813011bddd7a07ae03c7f (patch)
tree35ea6048e78cb3c089fdd41b07c5dee4e8fdc31e /src
parenta5a030ecc15f2cfdcabc45238832f0b9e41097f7 (diff)
downloadconnman-59722a5fc5f62e402eb813011bddd7a07ae03c7f.zip
connman-59722a5fc5f62e402eb813011bddd7a07ae03c7f.tar.gz
connman-59722a5fc5f62e402eb813011bddd7a07ae03c7f.tar.bz2
core: Print timezone information if available from server
Diffstat (limited to 'src')
-rw-r--r--src/wispr.c4
1 files changed, 4 insertions, 0 deletions
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,