From: Brendan Cully Date: Wed, 14 Mar 2007 19:23:13 +0000 (-0700) Subject: Don't skip the last connection in imap_complete_hosts X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd0b2e9b267266826816c1743b0f4706207882e2;p=neomutt Don't skip the last connection in imap_complete_hosts --- diff --git a/ChangeLog b/ChangeLog index d862f94bf..f31ccc454 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +2007-03-14 11:33 -0700 Rocco Rutte (09f73968d97a) + + * rfc822.c: Fix return value for rfc822_write_address() The strcat + cleanup changed the return type from void to int but didn't provide + a return value for the case of bogus function arguments. + +2007-03-13 12:39 -0700 TAKIZAWA Takashi (dc8f0c4a6287) + + * help.c: Use strwidth instead of strlen when generating help strings. + This fixes word-wrap with multibyte strings (closes: #1503) + +2007-03-13 22:40 -0700 Brendan Cully (61b2845af4da) + + * Makefile.am, Muttrc.head, Muttrc.head.in, configure.in: Fully expand + $docdir when building Muttrc (closes: #2832) + + * makedoc.c: Make makedoc return 0 on success (be there dragons here?) + +2007-03-13 09:22 -0700 Vincent Lefevre (7e9c45589254) + + * po/fr.po: Updated French translation. + 2007-03-13 10:58 +0100 Thomas Roessler (f4d3704813fd) * charset.c: Clean up the strcat cleanup diff --git a/imap/imap.c b/imap/imap.c index 503673093..5ec4f0ff0 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1827,7 +1827,7 @@ imap_complete_hosts (char *dest, size_t len) } } - for (conn = mutt_socket_head (); conn && conn->next; conn = conn->next) + for (conn = mutt_socket_head (); conn; conn = conn->next) { ciss_url_t url; char urlstr[LONG_STRING];