aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/triplet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/triplet.c b/src/triplet.c
index 24ab611..0ddf997 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -124,17 +124,17 @@ enum triplet_state
};
static enum triplet_state
check_triplet_state (struct file_triplet *trp)
{
- if (verify_directive_file (trp, trp->spool))
- return triplet_bad;
-
if (trp->file[file_directive].name)
{
+ if (verify_directive_file (trp, trp->spool))
+ return triplet_bad;
+
if (trp->file[file_dist].name == 0
&& trp->file[file_signature].name == 0)
{
if (directive_get_value (trp, "filename", NULL))
return triplet_directive;
}

Return to:

Send suggestions and report system problems to the System administrator.