aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-03-12 21:08:49 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-03-12 21:08:49 +0200
commite76d8e000bfa184d9ae79e620ffeec7cefab7fd8 (patch)
tree44a2bf50c595f0e0f7b616d7a362d020a3758a54 /src
parent43e8d1ad415cd8af7f56f0346097dd2882e23628 (diff)
downloadwydawca-e76d8e000bfa184d9ae79e620ffeec7cefab7fd8.tar.gz
wydawca-e76d8e000bfa184d9ae79e620ffeec7cefab7fd8.tar.bz2
Bugfix
* src/triplet.c (check_triplet_state): Verify the directive file only if it already exists.
Diffstat (limited to 'src')
-rw-r--r--src/triplet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/triplet.c b/src/triplet.c
index 24ab611..0ddf997 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -127,11 +127,11 @@ enum triplet_state
static enum triplet_state
check_triplet_state (struct file_triplet *trp)
{
+ if (trp->file[file_directive].name)
+ {
if (verify_directive_file (trp, trp->spool))
return triplet_bad;
- if (trp->file[file_directive].name)
- {
if (trp->file[file_dist].name == 0
&& trp->file[file_signature].name == 0)
{

Return to:

Send suggestions and report system problems to the System administrator.