evolution-rss r504 - trunk/src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r504 - trunk/src
- Date: Thu, 16 Apr 2009 07:36:25 +0000 (UTC)
Author: lucilanga
Date: Thu Apr 16 07:36:25 2009
New Revision: 504
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=504&view=rev
Log:
2009-04-14 Lucian Langa <lucilanga gnome org>
* src/rss.c (mycall), (org_gnome_rss_browser), (pfree),
(finish_website):
* src/rss.h: prefetch website data
Modified:
trunk/src/network-soup.c
Modified: trunk/src/network-soup.c
==============================================================================
--- trunk/src/network-soup.c (original)
+++ trunk/src/network-soup.c Thu Apr 16 07:36:25 2009
@@ -85,13 +85,15 @@
#if LIBSOUP_VERSION < 2003000
clen = soup_message_get_header(msg->response_headers,
"Content-length");
+ return;
#else
clen = soup_message_headers_get(msg->response_headers,
"Content-length");
#endif
if (!clen)
- return;
- info->total = atoi(clen);
+ info->total = 0;
+ else
+ info->total = atoi(clen);
}
#if LIBSOUP_VERSION < 2003000
info->current += msg->response.length;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]