diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 14:15:58 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 14:15:58 -0600 |
commit | 36b77661542a63c4579943951d143c8cc9c99460 (patch) | |
tree | 07858a2130d5d46ac7eef9587e09be8080e43a3d /pith/stream.c | |
parent | 7c946bfafe961c1dda51d19b5c29a5600ef1e5ec (diff) | |
download | alpine-36b77661542a63c4579943951d143c8cc9c99460.tar.xz |
* several changes to reduce warnings, including adding sys/ioctl.h
in system.h.
Diffstat (limited to 'pith/stream.c')
-rw-r--r-- | pith/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/stream.c b/pith/stream.c index cfdcc9a5..5cce21ce 100644 --- a/pith/stream.c +++ b/pith/stream.c @@ -3276,13 +3276,13 @@ streams_died(void) 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) : "?", + short_str(pretty_fn((char *) folder) ? pretty_fn((char *) folder) : "?", tmp_20k_buf+1000, SIZEOF_20KBUF-1000, 35, FrontDots)); dprint((6, "streams_died: locked: \"%s\"\n", folder)); if(rv == 1){ snprintf(tmp_20k_buf, SIZEOF_20KBUF, _("Folder \"%s\" is Closed"), - short_str(pretty_fn(folder) ? pretty_fn(folder) : "?", + short_str(pretty_fn((char *)folder) ? pretty_fn((char *)folder) : "?", tmp_20k_buf+1000, SIZEOF_20KBUF-1000, 35, FrontDots)); if(pith_opt_icon_text) (*pith_opt_icon_text)(tmp_20k_buf, IT_MCLOSED); |