summaryrefslogtreecommitdiff
path: root/maidag
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-24 11:38:42 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-10-24 11:38:42 +0300
commitf70ebb8c1d67d70222768b34ce7568b78fe191de (patch)
tree3342cdddef3aedf41ccb99f7eb49a9ef86f0fa4f /maidag
parent1e9173dfbe7a22b8073fe2a5f6559612d24f67e6 (diff)
downloadmailutils-f70ebb8c1d67d70222768b34ce7568b78fe191de.tar.gz
mailutils-f70ebb8c1d67d70222768b34ce7568b78fe191de.tar.bz2
Simplify mu_file_safety_check call.
* include/mailutils/util.h (mu_file_safety_check): Change type of the 3rd argument to uid_t. * libmailutils/base/filesafety.c: Likewise. All uses updated.
Diffstat (limited to 'maidag')
-rw-r--r--maidag/forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maidag/forward.c b/maidag/forward.c
index a1b8697ce..5dfdc41dc 100644
--- a/maidag/forward.c
+++ b/maidag/forward.c
@@ -213,7 +213,7 @@ maidag_forward (mu_message_t msg, struct mu_auth_data *auth, char *fwfile)
mu_list_create (&idlist);
rc = mu_file_safety_check (filename, forward_file_checks,
- auth, idlist);
+ auth->uid, idlist);
if (rc == 0)
result = process_forward (msg, filename, auth->name);
else if (rc == MU_ERR_EXISTS)

Return to:

Send suggestions and report system problems to the System administrator.