diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-03-12 21:08:49 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-03-12 21:08:49 +0200 |
commit | e76d8e000bfa184d9ae79e620ffeec7cefab7fd8 (patch) | |
tree | 44a2bf50c595f0e0f7b616d7a362d020a3758a54 /src | |
parent | 43e8d1ad415cd8af7f56f0346097dd2882e23628 (diff) | |
download | wydawca-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.c | 6 |
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 | |||
@@ -127,11 +127,11 @@ enum triplet_state | |||
127 | static enum triplet_state | 127 | static enum triplet_state |
128 | check_triplet_state (struct file_triplet *trp) | 128 | check_triplet_state (struct file_triplet *trp) |
129 | { | 129 | { |
130 | if (verify_directive_file (trp, trp->spool)) | ||
131 | return triplet_bad; | ||
132 | |||
133 | if (trp->file[file_directive].name) | 130 | if (trp->file[file_directive].name) |
134 | { | 131 | { |
132 | if (verify_directive_file (trp, trp->spool)) | ||
133 | return triplet_bad; | ||
134 | |||
135 | if (trp->file[file_dist].name == 0 | 135 | if (trp->file[file_dist].name == 0 |
136 | && trp->file[file_signature].name == 0) | 136 | && trp->file[file_signature].name == 0) |
137 | { | 137 | { |