diff options
author | Eduardo Chappa <chappa@washington.edu> | 2014-02-15 22:27:58 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2014-02-15 22:27:58 -0700 |
commit | aa7d9f18ca61e2fb1998bcaedee9ecdfa93a0728 (patch) | |
tree | 72bee5a33580c59500d71f0fd324a0523deea4a0 /pith/stream.c | |
parent | 4a1cb9fd5554ef858945894a4dbe36e55f965934 (diff) | |
download | alpine-aa7d9f18ca61e2fb1998bcaedee9ecdfa93a0728.tar.xz |
* Fixes to documentation to update old washington.edu/alpine site
for patches.freeiz.com/alpine/. Work in progress.
* prototype function tigetstr in pico/osdep/terminal.c
* folders encoded in modified utf7 are transformed their names to a human
readable utf8.
* New attempt to fix smime support in Alpine. Messages sent by alpine
with or without attachments should validate in all servers and in
all folder formats.
Diffstat (limited to 'pith/stream.c')
-rw-r--r-- | pith/stream.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pith/stream.c b/pith/stream.c index e96e6089..5201a440 100644 --- a/pith/stream.c +++ b/pith/stream.c @@ -3264,7 +3264,7 @@ streams_died(void) int rv = 0; int i; MAILSTREAM *m; - char *folder; + unsigned char *folder; for(i = 0; i < ps_global->s_pool.nstream; i++){ m = ps_global->s_pool.streams[i]; @@ -3273,7 +3273,7 @@ streams_died(void) if(!sp_noticed_dead_stream(m)){ rv++; sp_set_noticed_dead_stream(m, 1); - folder = STREAMNAME(m); + folder = folder_name_decoded((unsigned char *)STREAMNAME(m)); q_status_message1(SM_ORDER | SM_DING, 3, 3, _("MAIL FOLDER \"%s\" CLOSED DUE TO ACCESS ERROR"), short_str(pretty_fn(folder) ? pretty_fn(folder) : "?", @@ -3287,6 +3287,7 @@ streams_died(void) if(pith_opt_icon_text) (*pith_opt_icon_text)(tmp_20k_buf, IT_MCLOSED); } + if(folder) fs_give((void **)&folder); } } else{ |