sync with 0.7.4cvs49
[claws.git] / src / folder.c
index 06da57955225cc3bc2435e8e867f038dc943a804..906c2e757448420490d2800f26b59a475b483f3e 100644 (file)
@@ -750,7 +750,7 @@ gint folder_item_scan(FolderItem *item)
 {
        Folder *folder;
 
-       g_return_if_fail(item != NULL);
+       g_return_val_if_fail(item != NULL, -1);
 
        folder = item->folder;
        return folder->scan(folder, item);