]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/pop3client/serv_pop3client.c
* More license declarations
[citadel.git] / citadel / modules / pop3client / serv_pop3client.c
index 8015bd758b552d8c92ec527e95aade4b57587054..c7576146d70241effcb7757f571388cde1798d2e 100644 (file)
@@ -3,6 +3,21 @@
  *
  * Consolidate mail from remote POP3 accounts.
  *
+ * Copyright (c) 2007-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
  */
 
 #include <stdlib.h>
@@ -200,7 +215,7 @@ void pop3_do_fetching(char *roomname, char *pop3host, char *pop3user, char *pop3
                        body = NULL;    /* yes, this should be dereferenced, NOT freed */
        
                        /* Do Something With It (tm) */
-                       msgnum = CtdlSubmitMsg(msg, NULL, roomname);
+                       msgnum = CtdlSubmitMsg(msg, NULL, roomname, 0);
                        if (msgnum > 0L) {
                                /* Message has been committed to the store */