rc = imap_sync_mailbox (ctx);
rc = imap_sync_mailbox (ctx, M_YES);
static int sync_mailbox (CONTEXT *ctx){#ifdef BUFFY_SIZE  BUFFY *tmp = NULL;#endif  int rc = -1;  if (!ctx->quiet)    mutt_message (_("Writing %s..."), ctx->path);  switch (ctx->magic)  {    case M_MBOX:    case M_MMDF:      rc = mbox_sync_mailbox (ctx);#ifdef BUFFY_SIZE      tmp = mutt_find_mailbox (ctx->path);#endif      break;          case M_MH:    case M_MAILDIR:      rc = mh_sync_mailbox (ctx);      break;      #ifdef USE_IMAP    case M_IMAP:      rc = imap_sync_mailbox (ctx);      break;#endif /* USE_IMAP */  }#if 0  if (!ctx->quiet && !ctx->shutup && rc == -1)    mutt_error ( _("Could not synchronize mailbox %s!"), ctx->path);#endif  #ifdef BUFFY_SIZE  if (tmp && tmp->new == 0)    mutt_update_mailbox (tmp);#endif  return rc;}