diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compose.c | 4 | ||||
-rw-r--r-- | src/import.c | 2 | ||||
-rw-r--r-- | src/rpop3.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/compose.c b/src/compose.c index 80ef48bf..69ec4844 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2008 Hiroyuki Yamamoto + * Copyright (C) 1999-2009 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -4059,7 +4059,7 @@ static gint compose_queue(Compose *compose, const gchar *file) GSList *cur; gchar buf[BUFFSIZE]; gint num; - MsgFlags flag = {0, 0}; + MsgFlags flag = {0, MSG_QUEUED}; debug_print(_("queueing message...\n")); g_return_val_if_fail(compose->to_list != NULL || diff --git a/src/import.c b/src/import.c index 3ff67bad..955d9982 100644 --- a/src/import.c +++ b/src/import.c @@ -280,7 +280,7 @@ static gint import_eml_folder(FolderItem *dest, const gchar *path) ok = folder_item_add_msg_msginfo(dest, msginfo, FALSE); procmsg_msginfo_free(msginfo); if (ok < 0) { - g_warning("import_eml_folder(): folder_item_add_msg() failed."); + g_warning("import_eml_folder(): folder_item_add_msg_msginfo() failed."); break; } } diff --git a/src/rpop3.c b/src/rpop3.c index f2e68800..347f1a83 100644 --- a/src/rpop3.c +++ b/src/rpop3.c @@ -718,7 +718,7 @@ static gint rpop3_retr_recv(Pop3Session *session, FILE *fp, guint len) { gchar *file; MsgInfo *msginfo; - MsgFlags flags = {0, 0}; + MsgFlags flags = {MSG_NEW|MSG_UNREAD, MSG_RECEIVED}; MessageView *msgview; file = get_tmp_file(); @@ -743,7 +743,7 @@ static gint rpop3_retr_recv(Pop3Session *session, FILE *fp, guint len) return -1; } - if (folder_item_add_msg(inbox, file, NULL, FALSE) < 0) { + if (folder_item_add_msg(inbox, file, &flags, FALSE) < 0) { session->error_val = PS_IOERR; return -1; } @@ -1080,7 +1080,7 @@ static void rpop3_recv(GtkButton *button, gpointer data) gtk_tree_model_get(model, &iter, COL_NUMBER, &num, COL_DELETED, &deleted, -1); if (!deleted) { - debug_print("rpop3_recv: recieving message %d\n", num); + debug_print("rpop3_recv: receiving message %d\n", num); g_array_append_val(array, num); } } |