[Xfce4-commits] <xfce4-weather-plugin:master> Update comments about geoip.xfce.org.
Harald Judt
noreply at xfce.org
Wed Jul 18 15:04:01 CEST 2012
Updating branch refs/heads/master
to c97abf006bcc6e641faedf208ee11b23177a0bc4 (commit)
from a2a6e2a54370e8d01bca5c502f1d85263c28b897 (commit)
commit c97abf006bcc6e641faedf208ee11b23177a0bc4
Author: Harald Judt <h.judt at gmx.at>
Date: Wed Jul 18 14:59:45 2012 +0200
Update comments about geoip.xfce.org.
panel-plugin/weather-http.c | 2 +-
panel-plugin/weather-search.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/weather-http.c b/panel-plugin/weather-http.c
index 7caa1cf..0c6b540 100644
--- a/panel-plugin/weather-http.c
+++ b/panel-plugin/weather-http.c
@@ -382,7 +382,7 @@ weather_http_receive_data_idle (gpointer user_data)
}
else
{
- /* hack for archive.xfce.org, which return no content-length */
+ /* hack for geoip.xfce.org, which return no content-length */
p = strstr ((char *)connection->received, "<Response>");
if (G_LIKELY (p))
cts_len = connection->received_len - (p - connection->received);
diff --git a/panel-plugin/weather-search.c b/panel-plugin/weather-search.c
index 815e62e..e59d056 100644
--- a/panel-plugin/weather-search.c
+++ b/panel-plugin/weather-search.c
@@ -442,7 +442,7 @@ cb_geolocation (gboolean succeed,
return;
}
- /* hack for archive.xfce.org, which return no content-length */
+ /* hack for geoip.xfce.org, which return no content-length */
p = strstr (received, "</Response>");
if (p != NULL)
length = p - received + strlen ("</Response>");
More information about the Xfce4-commits
mailing list