diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-24 11:38:42 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-24 11:38:42 +0300 |
commit | f70ebb8c1d67d70222768b34ce7568b78fe191de (patch) | |
tree | 3342cdddef3aedf41ccb99f7eb49a9ef86f0fa4f /maidag | |
parent | 1e9173dfbe7a22b8073fe2a5f6559612d24f67e6 (diff) | |
download | mailutils-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.c | 2 |
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) |