int count = 0;
IMAP_MBOX mx, pmx;
int rc;
+ const char *condstore;
if (imap_parse_path (ctx->path, &mx))
{
imap_status (Postponed, 1);
FREE (&pmx.mbox);
- snprintf (bufout, sizeof (bufout), "%s %s%s",
- ctx->readonly ? "EXAMINE" : "SELECT",
- buf,
#if USE_HCACHE
- mutt_bit_isset (idata->capabilities, CONDSTORE) &&
- option (OPTIMAPCONDSTORE) ? " (CONDSTORE)" : "");
-#else
- "");
+ if (mutt_bit_isset (idata->capabilities, CONDSTORE) &&
+ option (OPTIMAPCONDSTORE))
+ condstore = " (CONDSTORE)";
+ else
#endif
+ condstore = "";
+
+ snprintf (bufout, sizeof (bufout), "%s %s%s",
+ ctx->readonly ? "EXAMINE" : "SELECT",
+ buf, condstore);
idata->state = IMAP_SELECTED;