diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-22 11:39:41 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-22 11:42:05 +0200 |
commit | cff44776a11f31dcbaa0445fbddf02e7cd8284c0 (patch) | |
tree | 212084647d7ceb6b4a969a3537a42b1f694eda71 /libmailutils | |
parent | d78773a2f393697f81d2b6f1be832eadb7a05019 (diff) | |
download | mailutils-cff44776a11f31dcbaa0445fbddf02e7cd8284c0.tar.gz mailutils-cff44776a11f31dcbaa0445fbddf02e7cd8284c0.tar.bz2 |
Pop3-client bugfixes (mostly).
* libmailutils/stream/fltstream.c (filter_ctl): MU_IOCTL_TRANSPORT
returns filter transport stream.
* libproto/pop/pop3_rdlist.c (mu_pop3_stream_to_list): Make sure
status is initialized and reflects the actual status.
* libproto/pop/pop3_stream.c (mu_pop3_filter_create): Do not unref
transport stream, it is done by the caller.
Diffstat (limited to 'libmailutils')
-rw-r--r-- | libmailutils/stream/fltstream.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmailutils/stream/fltstream.c b/libmailutils/stream/fltstream.c index 706b34c37..bdb57170e 100644 --- a/libmailutils/stream/fltstream.c +++ b/libmailutils/stream/fltstream.c @@ -407,8 +407,11 @@ filter_ctl (struct _mu_stream *stream, int code, int opcode, void *ptr) ptrans[1] = NULL; } break; + default: + return ENOSYS; } - /* fall through */ + break; + default: return mu_stream_ioctl (fs->transport, code, opcode, ptr); } |