[Xfce4-commits] <xfce4-weather-plugin:master> Remove duplicate slash from URL in download messages.

Harald Judt noreply at xfce.org
Sun Aug 19 10:08:11 CEST 2012


Updating branch refs/heads/master
         to de890d2fdbec605c43a0be89085e420c78a32beb (commit)
       from f5dec77b044c633e87a1b09ff689287153616719 (commit)

commit de890d2fdbec605c43a0be89085e420c78a32beb
Author: Harald Judt <h.judt at gmx.at>
Date:   Sun Aug 19 10:01:24 2012 +0200

    Remove duplicate slash from URL in download messages.

 panel-plugin/weather-search.c |    2 +-
 panel-plugin/weather.c        |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/weather-search.c b/panel-plugin/weather-search.c
index 24de778..c899b19 100644
--- a/panel-plugin/weather-search.c
+++ b/panel-plugin/weather-search.c
@@ -183,7 +183,7 @@ search_cb(GtkWidget *widget,
     g_free(sane_str);
 
     gtk_tree_view_column_set_title(dialog->column, _("Searching..."));
-    g_message("getting http://nominatim.openstreetmap.org/%s", url);
+    g_message("getting http://nominatim.openstreetmap.org%s", url);
     weather_http_receive_data("nominatim.openstreetmap.org", url,
                               dialog->proxy_host, dialog->proxy_port,
                               cb_searchdone, dialog);
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index b26c1bc..da5f5c7 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -478,7 +478,7 @@ update_weatherdata(xfceweather_data *data)
                               now_tm.tm_mday);
 
         /* start receive thread */
-        g_message("getting http://api.yr.no/%s", url);
+        g_message("getting http://api.yr.no%s", url);
         weather_http_receive_data("api.yr.no", url, data->proxy_host,
                                   data->proxy_port, cb_astro_update, data);
 
@@ -493,7 +493,7 @@ update_weatherdata(xfceweather_data *data)
                             data->lat, data->lon);
 
         /* start receive thread */
-        g_message("getting http://api.yr.no/%s", url);
+        g_message("getting http://api.yr.no%s", url);
         weather_http_receive_data("api.yr.no", url, data->proxy_host,
                                   data->proxy_port, cb_update, data);
 


More information about the Xfce4-commits mailing list