diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-04-28 15:11:58 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-04-28 15:11:58 -0700 |
commit | 59722a5fc5f62e402eb813011bddd7a07ae03c7f (patch) | |
tree | 35ea6048e78cb3c089fdd41b07c5dee4e8fdc31e /src | |
parent | a5a030ecc15f2cfdcabc45238832f0b9e41097f7 (diff) | |
download | connman-59722a5fc5f62e402eb813011bddd7a07ae03c7f.tar.gz connman-59722a5fc5f62e402eb813011bddd7a07ae03c7f.tar.bz2 connman-59722a5fc5f62e402eb813011bddd7a07ae03c7f.zip |
core: Print timezone information if available from server
Diffstat (limited to 'src')
-rw-r--r-- | src/wispr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wispr.c b/src/wispr.c index cf5f7c43..94800948 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, |