X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_list.c;h=1be8bab29bed6275d1c8489cb486505cf9cf623c;hb=7a9b0685e406cc83597171cc39d008c7e5459ca8;hp=14cd0476ecee1f613b20fe537bf9a7e08e4c258e;hpb=2b80e75820618944e1c75b9c01aeeefc8b6b0c81;p=citadel.git diff --git a/citadel/modules/imap/imap_list.c b/citadel/modules/imap/imap_list.c index 14cd0476e..1be8bab29 100644 --- a/citadel/modules/imap/imap_list.c +++ b/citadel/modules/imap/imap_list.c @@ -1,7 +1,7 @@ /* * Implements the LIST and LSUB commands. * - * Copyright (c) 2000-2009 by Art Cancro and others. + * Copyright (c) 2000-2017 by Art Cancro and others. * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,18 +27,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include #include @@ -378,7 +367,7 @@ void imap_list(int num_parms, ConstStr *Params) &Params[i], 1); - IMAP_syslog(LOG_DEBUG, "evaluating <%s>", Params[i].Key); + syslog(LOG_DEBUG, "evaluating <%s>", Params[i].Key); if (!strcasecmp(Params[i].Key, "SUBSCRIBED")) { ImapFilter.return_subscribed = 1;