[Xfce4-commits] [panel-plugins/xfce4-weather-plugin] 01/01: Use secure.geonames.org https endpoint

noreply at xfce.org noreply at xfce.org
Sat Mar 23 02:18:04 CET 2019


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-weather-plugin.

commit 143e67e2ebbe8e266bfe24a49d95e4e2bb5e44ad
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Fri Mar 22 21:17:57 2019 -0400

    Use secure.geonames.org https endpoint
---
 panel-plugin/weather-config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c
index b4d972e..167d8f0 100644
--- a/panel-plugin/weather-config.c
+++ b/panel-plugin/weather-config.c
@@ -294,7 +294,7 @@ lookup_altitude_timezone(const gpointer user_data)
     lonstr = double_to_string(lon, "%.6f");
 
     /* lookup altitude */
-    url = g_strdup_printf("http://api.geonames.org"
+    url = g_strdup_printf("https://secure.geonames.org"
                           "/srtm3XML?lat=%s&lng=%s&username=%s",
                           latstr, lonstr,
                           dialog->pd->geonames_username
@@ -304,7 +304,7 @@ lookup_altitude_timezone(const gpointer user_data)
     g_free(url);
 
     /* lookup timezone */
-    url = g_strdup_printf("http://api.geonames.org"
+    url = g_strdup_printf("https://secure.geonames.org"
                           "/timezone?lat=%s&lng=%s&username=%s",
                           latstr, lonstr,
                           dialog->pd->geonames_username

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list