evolution-data-server r9335 - trunk/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9335 - trunk/camel
- Date: Wed, 13 Aug 2008 03:55:08 +0000 (UTC)
Author: sragavan
Date: Wed Aug 13 03:55:08 2008
New Revision: 9335
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9335&view=rev
Log:
2008-08-13 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #547469
* camel/camel-vee-folder.c: Count only when you have results.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-vee-folder.c
Modified: trunk/camel/camel-vee-folder.c
==============================================================================
--- trunk/camel/camel-vee-folder.c (original)
+++ trunk/camel/camel-vee-folder.c Wed Aug 13 03:55:08 2008
@@ -487,8 +487,10 @@
/* FIXME: Why don't we write a count_search_by_expression. It can be just fast. */
match = camel_folder_search_by_expression(f, expr, ex);
- count = match->len;
- camel_folder_search_free (f, match);
+ if (match) {
+ count = match->len;
+ camel_folder_search_free (f, match);
+ }
return count;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]