do not insert ',' if there are no mail ids in 'TO' field. ** Fixes bug
authorParthasarathi Susarla <sparthasarathi@novell.com>
Thu, 7 Jul 2005 09:17:47 +0000 (09:17 +0000)
committerParthasarathi Susarla <saps@src.gnome.org>
Thu, 7 Jul 2005 09:17:47 +0000 (09:17 +0000)
2005-07-07  Parthasarathi Susarla <sparthasarathi@novell.com>

* camel-groupwise-folder.c: (gw_update_summary):
  do not insert ',' if there are no mail ids in 'TO'
  field.
  ** Fixes bug 302965 **

camel/providers/groupwise/ChangeLog
camel/providers/groupwise/camel-groupwise-folder.c

index bf04c39..5b57fba 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-07  Parthasarathi Susarla <sparthasarathi@novell.com>
+       
+       * camel-groupwise-folder.c: (gw_update_summary):
+         do not insert ',' if there are no mail ids in 'TO'
+         field.
+         ** Fixes bug 302965 **
+
 2005-07-07 Vivek Jain <jvivek@novell.com>
        
        * camel-groupwise-folder.c:(groupwise_sync)
index 02ef075..3771016 100644 (file)
@@ -1025,8 +1025,8 @@ gw_update_summary ( CamelFolder *folder, GList *item_list,CamelException *ex)
                                        if (i)
                                                str = g_string_append (str, ", ");
                                        g_string_append_printf (str,"%s <%s>", recp->display_name, recp->email);
+                                       i++;
                                }
-                               i++;
                        }
                        mi->info.to = camel_pstring_strdup (str->str);
                        g_string_truncate (str, 0);