stable now but there are GIANT PIECES MISSING
[citadel.git] / citadel / modules / imap / imap_misc.c
index 6e68b6cbe7915fc3c4daf2d857677bc58d22269c..4cd8ece66792a9ada8fae7b54596625452f77975 100644 (file)
 #include <pwd.h>
 #include <errno.h>
 #include <sys/types.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
-#endif
-
+#include <time.h>
 #include <sys/wait.h>
 #include <ctype.h>
 #include <string.h>
@@ -392,7 +381,7 @@ void imap_append(int num_parms, ConstStr *Params) {
        else {
                /* Yes ... go ahead and post! */
                if (msg != NULL) {
-                       new_msgnum = CtdlSubmitMsg(msg, NULL, "", 0);
+                       new_msgnum = CtdlSubmitMsg(msg, NULL, "");
                }
                if (new_msgnum >= 0L) {
                        IReplyPrintf("OK [APPENDUID %ld %ld] APPEND completed",