aboutsummaryrefslogtreecommitdiff
path: root/src/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/verify.c')
-rw-r--r--src/verify.c4
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
@@ -89,13 +89,13 @@ make_default_meta (struct metadef def[5], const char *user,
def[4].kw = NULL;
}
/* 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];
int rc;
char *command;
const char *result;
@@ -140,13 +140,13 @@ check_access_rights (struct file_triplet *trp, struct spool *spool,
}
return 0;
}
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;
struct access_method *method = spool->access_method[gpg_key_method];
const char *pubkey;
int rc;

Return to:

Send suggestions and report system problems to the System administrator.