X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_misc.c;h=c5c7dfbbd03acda001efb2317ee0e2a2f176c292;hb=8c47559cb5ae97ec0fa35660ee16fd61a9451c72;hp=5d40f8503821b13b16013e773c2668f2edcd78dc;hpb=f3daca93c3590e7bed50a67847a5bb6be5a62c9a;p=citadel.git diff --git a/citadel/modules/imap/imap_misc.c b/citadel/modules/imap/imap_misc.c index 5d40f8503..c5c7dfbbd 100644 --- a/citadel/modules/imap/imap_misc.c +++ b/citadel/modules/imap/imap_misc.c @@ -2,6 +2,22 @@ * $Id$ * * + * + * Copyright (c) 2001-2009 by the citadel.org team + * + * 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 + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -85,7 +101,7 @@ int imap_do_copy(char *destination_folder) { } if (num_selected > 0) { - CtdlCopyMsgsToRoom(selected_msgs, num_selected, roomname); + CtdlSaveMsgPointersInRoom(roomname, selected_msgs, num_selected, 1, NULL); } free(selected_msgs);