summaryrefslogtreecommitdiffabout
path: root/src/directive.c
Side-by-side diff
Diffstat (limited to 'src/directive.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/directive.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/directive.c b/src/directive.c
index 401397d..93830b1 100644
--- a/src/directive.c
+++ b/src/directive.c
@@ -587,14 +587,16 @@ external_check (struct file_triplet *trp)
return rc;
}
-/* Process the directives from TRP, using given SPOOL */
+/* Process the directives from TRP */
int
-process_directives (struct file_triplet *trp, const struct spool *spool)
+process_directives (struct file_triplet *trp)
{
int rc, n;
const char *key, *val;
char *relative_dir;
+ const struct spool *spool;
+ ASGN_SPOOL (spool, trp, return 1);
UPDATE_STATS (STAT_COMPLETE_TRIPLETS);
timer_start ("triplet");
report_init ();
@@ -625,7 +627,7 @@ process_directives (struct file_triplet *trp, const struct spool *spool)
break;
case filename_dir:
- rc = verify_detached_signature (trp, spool);
+ rc = verify_detached_signature (trp);
if (rc == 0)
{
if (external_check (trp))

Return to:

Send suggestions and report system problems to the System administrator.