aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-12-06 00:00:14 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-12-06 00:13:09 +0200
commitd8197fdeba9b564ed665c739d725578a9f4a4522 (patch)
tree32d8217ae1b425d537fed65c51b1a338c525a029 /src
parent1531c2d5342372545a323ba9cb31df148c522122 (diff)
downloadmailfromd-d8197fdeba9b564ed665c739d725578a9f4a4522.tar.gz
mailfromd-d8197fdeba9b564ed665c739d725578a9f4a4522.tar.bz2
Bugfix
* src/builtin/mbox.bi (mailbox_open): Fix the use of the perms argument. * doc/functions.texi: Document last argument to mailbox_open.
Diffstat (limited to 'src')
-rw-r--r--src/builtin/mbox.bi2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtin/mbox.bi b/src/builtin/mbox.bi
index 3d556818..a5f2c4c2 100644
--- a/src/builtin/mbox.bi
+++ b/src/builtin/mbox.bi
@@ -140,7 +140,7 @@ MF_DEFUN(mailbox_open, NUMBER, STRING url, OPTIONAL, STRING mode, STRING perms)
#ifdef MU_STREAM_IRGRP
int f;
const char *p;
- MF_ASSERT(mu_parse_stream_perm_string(&f, MF_OPTVAL(mode), &p)
+ MF_ASSERT(mu_parse_stream_perm_string(&f, MF_OPTVAL(perms), &p)
== 0,
mfe_range, /* FIXME: introduce mfe_inval? */
_("invalid permissions (near %s)"), p);

Return to:

Send suggestions and report system problems to the System administrator.