X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_list.c;h=6dbbe6ebb9d25f5936f8d72008b43ff8738b1607;hb=e26a8dee20d1726b4995821f717f867f50fc5659;hp=015ee1cd3d9e21e4b19e0b2be8970b96c5898d5a;hpb=826932b012c26b5ef97a5bbf45acf10fca6acc60;p=citadel.git diff --git a/citadel/modules/imap/imap_list.c b/citadel/modules/imap/imap_list.c index 015ee1cd3..6dbbe6ebb 100644 --- a/citadel/modules/imap/imap_list.c +++ b/citadel/modules/imap/imap_list.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2009 by Art Cancro and others. * - * This program is free software; you can redistribute it and/or modify + * 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 * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. @@ -195,7 +195,6 @@ void imap_list(int num_parms, ConstStr *Params) int selection_left = (-1); int selection_right = (-1); int return_left = (-1); - int return_right = (-1); int root_pos = 2; int patterns_left = 3; int patterns_right = 3; @@ -377,7 +376,7 @@ void imap_list(int num_parms, ConstStr *Params) &Params[i], 1); - CtdlLogPrintf(9, "evaluating <%s>\n", Params[i].Key); + syslog(LOG_DEBUG, "evaluating <%s>", Params[i].Key); if (!strcasecmp(Params[i].Key, "SUBSCRIBED")) { ImapFilter.return_subscribed = 1; @@ -388,7 +387,6 @@ void imap_list(int num_parms, ConstStr *Params) } if (paren_nest == 0) { - return_right = i; /* found end of patterns */ i = num_parms + 1; /* break out of the loop */ } }