* src/procmsg.c
[claws.git] / src / procmsg.c
index b85e883111001e0cfa0ab88b5482359d31912487..56c9411db1d8aa171c698438ed5b529eb0c3570e 100644 (file)
@@ -1245,7 +1245,6 @@ gint procmsg_send_message_queue(const gchar *file)
        }
        filepos = ftell(fp);
 
-       fseek(fp, filepos, SEEK_SET);
        if (to_list) {
                debug_print("Sending message by mail\n");
                if(!from) {
@@ -1296,6 +1295,7 @@ gint procmsg_send_message_queue(const gchar *file)
                }
        }
 
+       fseek(fp, filepos, SEEK_SET);
        if(newsgroup_list && (newsval == 0)) {
                Folder *folder;
                gchar *tmp = NULL;