aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 8abc5d177b..e6ab27b876 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1479,7 +1479,7 @@ int camel_folder_search_by_expression (CamelFolder *folder,
gboolean camel_folder_search_complete(CamelFolder *folder, int searchid, gboolean wait, CamelException *ex)
{
g_assert (folder != NULL);
- g_return_if_fail (folder->has_search_capability);
+ g_return_val_if_fail (folder->has_search_capability, FALSE);
return CF_CLASS (folder)->search_complete (folder, searchid, wait, ex);
}