Version 1.9.92.
* imap4d/list.c (imap4d_list): Fix addslash condition.
Showing
4 changed files
with
10 additions
and
4 deletions
1 | 2008-08-17 Sergey Poznyakoff <gray@gnu.org.ua> | 1 | 2008-08-17 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 2 | ||
3 | Version 1.9.92. | ||
4 | |||
5 | * imap4d/list.c (imap4d_list): Fix addslash condition. | ||
6 | |||
3 | Improve folder listing. | 7 | Improve folder listing. |
4 | * include/mailutils/registrar.h (_mu_record): New method | 8 | * include/mailutils/registrar.h (_mu_record): New method |
5 | `_list_p'. | 9 | `_list_p'. | ... | ... |
1 | GNU mailutils NEWS -- history of user-visible changes. 2008-04-14 | 1 | GNU mailutils NEWS -- history of user-visible changes. 2008-08-17 |
2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, | 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, |
3 | 2008 Free Software Foundation, Inc. | 3 | 2008 Free Software Foundation, Inc. |
4 | See the end of file for copying conditions. | 4 | See the end of file for copying conditions. |
... | @@ -6,7 +6,7 @@ See the end of file for copying conditions. | ... | @@ -6,7 +6,7 @@ See the end of file for copying conditions. |
6 | Please send mailutils bug reports to <bug-mailutils@gnu.org>. | 6 | Please send mailutils bug reports to <bug-mailutils@gnu.org>. |
7 | 7 | ||
8 | 8 | ||
9 | Version 1.9.91: | 9 | Version 1.9.92: |
10 | 10 | ||
11 | * New configuration file format. | 11 | * New configuration file format. |
12 | 12 | ||
... | @@ -90,6 +90,8 @@ IP addresses/ports (or even local sockets) simultaneously. | ... | @@ -90,6 +90,8 @@ IP addresses/ports (or even local sockets) simultaneously. |
90 | 90 | ||
91 | ** pop3d: Fixed APOP handling. | 91 | ** pop3d: Fixed APOP handling. |
92 | 92 | ||
93 | ** Imap4d supports UNSELECT extension. | ||
94 | |||
93 | ** imap4d supports PREAUTH mode. | 95 | ** imap4d supports PREAUTH mode. |
94 | 96 | ||
95 | Three mechanisms are provided for authentifying the connection in | 97 | Three mechanisms are provided for authentifying the connection in | ... | ... |
... | @@ -17,7 +17,7 @@ dnl You should have received a copy of the GNU General Public License along | ... | @@ -17,7 +17,7 @@ dnl You should have received a copy of the GNU General Public License along |
17 | dnl with GNU Mailutils; if not, write to the Free Software Foundation, | 17 | dnl with GNU Mailutils; if not, write to the Free Software Foundation, |
18 | dnl Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | dnl Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 | ||
20 | AC_INIT([GNU Mailutils], [1.9.91], [bug-mailutils@gnu.org], [mailutils]) | 20 | AC_INIT([GNU Mailutils], [1.9.92], [bug-mailutils@gnu.org], [mailutils]) |
21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) | 21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) |
22 | AC_CONFIG_AUX_DIR([scripts]) | 22 | AC_CONFIG_AUX_DIR([scripts]) |
23 | AM_INIT_AUTOMAKE | 23 | AM_INIT_AUTOMAKE | ... | ... |
... | @@ -217,7 +217,7 @@ imap4d_list (struct imap4d_command *command, imap4d_tokbuf_t tok) | ... | @@ -217,7 +217,7 @@ imap4d_list (struct imap4d_command *command, imap4d_tokbuf_t tok) |
217 | { | 217 | { |
218 | size_t seglen = p - wcard; | 218 | size_t seglen = p - wcard; |
219 | size_t reflen = strlen (ref); | 219 | size_t reflen = strlen (ref); |
220 | int addslash = !!(reflen == 0 || ref[reflen-1] != '/'); | 220 | int addslash = (reflen > 0 && ref[reflen-1] != '/'); |
221 | size_t len = seglen + reflen + addslash + 1; | 221 | size_t len = seglen + reflen + addslash + 1; |
222 | 222 | ||
223 | ref = realloc (ref, len); | 223 | ref = realloc (ref, len); | ... | ... |
-
Please register or sign in to post a comment