diff options
Diffstat (limited to 'src/verify.c')
-rw-r--r-- | src/verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.c b/src/verify.c index 14651d2..522b865 100644 --- a/src/verify.c +++ b/src/verify.c @@ -92,7 +92,7 @@ make_default_meta (struct metadef def[5], const char *user, /* Verify if USER has upload rights on the directory (project) requested by TRP */ int -check_access_rights (struct file_triplet *trp, struct spool *spool, +check_access_rights (struct file_triplet *trp, const struct spool *spool, const char *user) { struct access_method *method = spool->access_method[verify_method]; @@ -143,7 +143,7 @@ check_access_rights (struct file_triplet *trp, struct spool *spool, } int -verify_directive_file (struct file_triplet *trp, struct spool *spool) +verify_directive_file (struct file_triplet *trp, const struct spool *spool) { struct passwd *pw; char *command; |