diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-09 14:28:37 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-10 10:27:05 +0200 |
commit | 841fc4842ae81579edab2a7752b0347944575d2c (patch) | |
tree | b2c32db83aac13618a86db459e5fff81c6d06e9b /comsat | |
parent | 8f8d9036cc943e4884b21ad050a1d443e102e47e (diff) | |
download | mailutils-841fc4842ae81579edab2a7752b0347944575d2c.tar.gz mailutils-841fc4842ae81579edab2a7752b0347944575d2c.tar.bz2 |
Remove MU_STREAM_AUTOCLOSE flag. Use mu_stream_unref, if necessary.
* examples/mta.c: Use MU_STREAM_FD_AUTOCLOSE.
* imap4d/io.c: Likewise.
* libmailutils/stream/file_stream.c: Likewise.
* libmailutils/stream/prog_stream.c: Likewise.
* libmailutils/stream/socket_stream.c: Likewise.
* libmailutils/stream/temp_file_stream.c: Likewise.
* maidag/lmtp.c: Likewise.
* pop3d/extra.c: Likewise.
* imap4d/preauth.c: Do not use MU_STREAM_AUTOCLOSE. Instead unref the
transport stream after creating the derived one.
* libmailutils/base/rfc2047.c: Likewise.
* libmailutils/stream/fltstream.c: Likewise.
* libmailutils/tests/fltst.c: Likewise.
* libmu_auth/ldap.c: Likewise.
* libmu_auth/tls.c: Likewise.
* libmu_sieve/extensions/vacation.c: Likewise.
* libproto/pop/pop3_stream.c: Likewise.
* mail/decode.c: Likewise.
* mh/mhn.c: Likewise.
* libmailutils/filter/filter_iconv.c: Do not handle MU_STREAM_AUTOCLOSE.
* libmailutils/stream/rdcache_stream.c: Likewise.
* libmailutils/stream/streamref.c: Likewise.
* libmailutils/stream/xscript-stream.c: Likewise.
* include/mailutils/stream.h (MU_STREAM_AUTOCLOSE): Rename to
MU_STREAM_FD_AUTOCLOSE.
Diffstat (limited to 'comsat')
-rw-r--r-- | comsat/action.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/comsat/action.c b/comsat/action.c index 59f3c6fcf..e9cf2b03b 100644 --- a/comsat/action.c +++ b/comsat/action.c @@ -570,13 +570,9 @@ eval_biffrc (struct biffrc_environ *env) if (!sp) report_error (env, _("unknown keyword")); else if (ws.ws_wordc < sp->argmin) - { - report_error (env, _("too few arguments")); - } + report_error (env, _("too few arguments")); else if (sp->argmax != -1 && ws.ws_wordc > sp->argmax) - { - report_error (env, _("too many arguments")); - } + report_error (env, _("too many arguments")); else { if (sp->expand) |