evolution-data-server r8724 - trunk/camel
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8724 - trunk/camel
- Date: Thu, 1 May 2008 21:39:10 +0100 (BST)
Author: fejj
Date: Thu May 1 20:39:10 2008
New Revision: 8724
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8724&view=rev
Log:
2008-05-01 Jeffrey Stedfast <fejj novell com>
* camel-folder-summary.c: Don't limit references while loading the
summary, etc to 500 entries - especially since we don't force the
limit when outputting the summary. Fixes bug #347061.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-folder-summary.c
Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c (original)
+++ trunk/camel/camel-folder-summary.c Thu May 1 20:39:10 2008
@@ -527,7 +527,7 @@
if (ci == NULL)
return NULL;
- if (camel_file_util_decode_uint32(in, &count) == -1 || count > 500) {
+ if (camel_file_util_decode_uint32(in, &count) == -1) {
camel_folder_summary_content_info_free (s, ci);
return NULL;
}
@@ -1872,7 +1872,7 @@
camel_file_util_decode_fixed_int32(in, &mi->message_id.id.part.hi);
camel_file_util_decode_fixed_int32(in, &mi->message_id.id.part.lo);
- if (camel_file_util_decode_uint32(in, &count) == -1 || count > 500)
+ if (camel_file_util_decode_uint32(in, &count) == -1)
goto error;
if (count > 0) {
@@ -1884,7 +1884,7 @@
}
}
- if (camel_file_util_decode_uint32(in, &count) == -1 || count > 500)
+ if (camel_file_util_decode_uint32(in, &count) == -1)
goto error;
for (i=0;i<count;i++) {
@@ -1895,7 +1895,7 @@
g_free(name);
}
- if (camel_file_util_decode_uint32(in, &count) == -1 || count > 500)
+ if (camel_file_util_decode_uint32(in, &count) == -1)
goto error;
for (i=0;i<count;i++) {
@@ -2049,7 +2049,8 @@
ct = camel_content_type_new(type, subtype);
g_free(type); /* can this be removed? */
g_free(subtype);
- if (camel_file_util_decode_uint32(in, &count) == -1 || count > 500)
+
+ if (camel_file_util_decode_uint32(in, &count) == -1)
goto error;
for (i = 0; i < count; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]