const char * message, size_t size,
uint32_t uid, int force_no_uid)
{
- size_t fixed_size;
size_t cur_token;
size_t left;
int end;
cur_token = 0;
- fixed_size = 0;
-
/* headers */
end = FALSE;
char * str;
unsigned int i;
size_t from_size;
- size_t maxuid;
size_t left;
size_t crlf_count;
if (localtime_r(&date, &time_info) != NULL)
from_size = strftime(from_line, MAX_FROM_LINE_SIZE, "From - %c\n", &time_info);
- maxuid = /* */ folder->mb_max_uid;
-
extra_size = 0;
for(i = 0 ; i < carray_count(append_tab) ; i ++) {
struct claws_mailmbox_append_info * info;
MsgInfoList *msglist, GHashTable *relation);
static gint claws_mailmbox_remove_msg(Folder *folder, FolderItem *item, gint num);
-static gint claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item, MsgInfoList *msglist, GRelation *relation );
+static gint claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item, MsgInfoList *msglist, GHashTable *relation );
static gint claws_mailmbox_remove_all_msg(Folder *folder, FolderItem *item);
static FolderItem *claws_mailmbox_create_folder(Folder *folder, FolderItem *parent,
static gint
claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item,
- MsgInfoList *msglist, GRelation *relation )
+ MsgInfoList *msglist, GHashTable *relation )
{
struct claws_mailmbox_folder *mbox;
int r;
/* Fix for bug 1434
*/
- claws_mailmbox_expunge(mbox);
+ r = claws_mailmbox_expunge(mbox);
if (total > 100) {
statusbar_progress_all(0,0,0);
statusbar_pop_all();
FolderItem *item;
gchar *message, *name;
AlertValue avalue;
- gchar *old_path;
gchar *old_id;
item = folderview_get_selected_item(folderview);
g_free(message);
if (avalue != G_ALERTALTERNATE) return;
- Xstrdup_a(old_path, item->path, return);
old_id = folder_item_get_identifier(item);
if (folderview->opened == folderview->selected ||
gchar *new_folder;
gchar *name;
gchar *message;
- gchar *old_path;
gchar *old_id;
gchar *new_id;
gchar *p;
return;
}
- Xstrdup_a(old_path, item->path, {g_free(new_folder); return;});
-
old_id = folder_item_get_identifier(item);
if (folder_item_rename(item, new_folder) < 0) {