evolution-data-server r8540 - trunk/camel/providers/groupwise



Author: sragavan
Date: Fri Feb 29 06:17:01 2008
New Revision: 8540
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8540&view=rev

Log:
2008-02-29  Srinivasa Ragavan  <sragavan novell com>

	** Fix for BNC bug #359950 

	* camel-groupwise-folder.c: (groupwise_folder_item_to_msg): If nothing
	to decode, handle it well. Reviewed by Sankar.




Modified:
   trunk/camel/providers/groupwise/ChangeLog
   trunk/camel/providers/groupwise/camel-groupwise-folder.c

Modified: trunk/camel/providers/groupwise/camel-groupwise-folder.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-folder.c	(original)
+++ trunk/camel/providers/groupwise/camel-groupwise-folder.c	Fri Feb 29 06:17:01 2008
@@ -1712,7 +1712,7 @@
 						status = e_gw_connection_get_attachment_base64 (cnc,
 								attach->id, t_offset, MAX_ATTACHMENT_SIZE,
 								(const char **)&t_attach, &t_len, &offset);
-						if (status == E_GW_CONNECTION_STATUS_OK) {
+						if (status == E_GW_CONNECTION_STATUS_OK && t_len) {
 							gsize len_iter = 0;
 							char *temp = NULL;
 
@@ -1850,7 +1850,7 @@
 						status = e_gw_connection_get_attachment_base64 (cnc,
 								attach->id, t_offset, MAX_ATTACHMENT_SIZE,
 								(const char **)&t_attach, &t_len, &offset);
-						if (status == E_GW_CONNECTION_STATUS_OK) {
+						if (status == E_GW_CONNECTION_STATUS_OK && t_len) {
 							gsize len_iter = 0;
 							char *temp = NULL;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]