X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_store.c;h=9750a6538d899d31d8e27f087c568b3e384b3ae2;hb=8c47559cb5ae97ec0fa35660ee16fd61a9451c72;hp=7e163787b227a2880ff548426e23721fdaf61edc;hpb=079f33bf491a2718e54829da13804d266f935204;p=citadel.git diff --git a/citadel/modules/imap/imap_store.c b/citadel/modules/imap/imap_store.c index 7e163787b..9750a6538 100644 --- a/citadel/modules/imap/imap_store.c +++ b/citadel/modules/imap/imap_store.c @@ -3,6 +3,22 @@ * * Implements the STORE command in IMAP. * + * + * 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 */ @@ -31,6 +47,7 @@ #include #include #include +#include #include "citadel.h" #include "server.h" #include "sysdep_decls.h" @@ -42,7 +59,6 @@ #include "policy.h" #include "database.h" #include "msgbase.h" -#include "tools.h" #include "internet_addressing.h" #include "serv_imap.h" #include "imap_tools.h" @@ -140,7 +156,7 @@ void imap_do_store(int num_items, char **itemlist) { bits_to_twiddle |= IMAP_SEEN; } if ((!strcasecmp(flag, "\\Answered")) - || (!strcasecmp(flag, "\\Answered"))) { + || (!strcasecmp(flag, "Answered"))) { bits_to_twiddle |= IMAP_ANSWERED; } }