projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
imap
/
imap.c
diff --git
a/imap/imap.c
b/imap/imap.c
index
4f0395f
..
69d35d6
100644
(file)
--- a/
imap/imap.c
+++ b/
imap/imap.c
@@
-211,10
+211,8
@@
int imap_read_literal (FILE * fp, IMAP_DATA * idata, long bytes, progress_t* bar
r = 0;
#endif
fputc (c, fp);
r = 0;
#endif
fputc (c, fp);
-#ifdef USE_SOCKET
- if (bar && pos % 1024)
+ if (bar && !(pos % 1024))
mutt_progress_bar (bar, pos);
mutt_progress_bar (bar, pos);
-#endif
#ifdef DEBUG
if (DebugLevel >= IMAP_LOG_LTRL)
fputc (c, DebugFile);
#ifdef DEBUG
if (DebugLevel >= IMAP_LOG_LTRL)
fputc (c, DebugFile);
@@
-1522,7
+1520,7
@@
static int imap_complete_hosts (char *dest, size_t len) {
}
}
}
}
- for (conn = mutt_socket_head (); conn->next; conn = conn->next) {
+ for (conn = mutt_socket_head (); conn
&& conn
->next; conn = conn->next) {
ciss_url_t url;
char urlstr[LONG_STRING];
ciss_url_t url;
char urlstr[LONG_STRING];