summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d3c39b0)
- revert USE_SOCKET wrapping in imap/ for mutt_progress_bar() as of r495
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@501
e385b8ad-14ed-0310-8656-
cc95a2468c6d
r = 0;
#endif
fputc (c, fp);
r = 0;
#endif
fputc (c, fp);
if (bar && pos % 1024)
mutt_progress_bar (bar, pos);
if (bar && pos % 1024)
mutt_progress_bar (bar, pos);
#ifdef DEBUG
if (DebugLevel >= IMAP_LOG_LTRL)
fputc (c, DebugFile);
#ifdef DEBUG
if (DebugLevel >= IMAP_LOG_LTRL)
fputc (c, DebugFile);
}
bar.size = bytes;
bar.msg = _("Fetching message...");
}
bar.size = bytes;
bar.msg = _("Fetching message...");
mutt_progress_bar (&bar, 0);
mutt_progress_bar (&bar, 0);
if (imap_read_literal (msg->fp, idata, bytes, &bar) < 0)
goto bail;
/* pick up trailing line */
if (imap_read_literal (msg->fp, idata, bytes, &bar) < 0)
goto bail;
/* pick up trailing line */
bar.msg = _("Uploading message...");
bar.size = len;
bar.msg = _("Uploading message...");
bar.size = len;
mutt_progress_bar (&bar, 0);
mutt_progress_bar (&bar, 0);
imap_munge_mbox_name (mbox, sizeof (mbox), mailbox);
snprintf (buf, sizeof (buf), "APPEND %s (%s%s%s%s%s) {%lu}", mbox,
imap_munge_mbox_name (mbox, sizeof (mbox), mailbox);
snprintf (buf, sizeof (buf), "APPEND %s (%s%s%s%s%s) {%lu}", mbox,
if (len > sizeof (buf) - 3) {
sent += len;
flush_buffer (buf, &len, idata->conn);
if (len > sizeof (buf) - 3) {
sent += len;
flush_buffer (buf, &len, idata->conn);
-#ifdef USE_SOCKET
- mutt_progress_bar (&bar, sent);
-#endif
+ mutt_progress_bar (&bar, sent);