Bugfixes.
Setting non-existing variable in bin/mail at the start of the session caused further calls to set (without arguments) to malfunction. This reveiled bugs in list mapping functions. On the other hand, invoking completion after "set var=" caused bin/mail to coredump. * libmailutils/list/gmap.c (mu_list_gmap): Initialize rc. * libmailutils/list/map.c: Always initialize *res. * mail/mailvar.c (mailvar_list_copy): The call to mu_list_map does not necessarily create the list. Create it, if it doesn't. (mailvar_iterate_next): Redo the loop: check if there are items to iterate over.
Showing
3 changed files
with
5 additions
and
6 deletions
-
Please register or sign in to post a comment