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

noreply at xfce.org noreply at xfce.org
Sun Mar 24 18:26:18 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   -   0   .   8   
   in repository panel-plugins/xfce4-weather-plugin.

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

    Use secure.geonames.org https endpoint
    
    Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
 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 5aff129..324f25b 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