projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 3.2.0
[debian/amanda]
/
common-src
/
fileheader-test.c
diff --git
a/common-src/fileheader-test.c
b/common-src/fileheader-test.c
index f2b26649ec28462450e895119793a355c806616e..c917e2a3ac0f42a6dd6eeb02f5ad95e3ea3684ab 100644
(file)
--- a/
common-src/fileheader-test.c
+++ b/
common-src/fileheader-test.c
@@
-70,6
+70,10
@@
rt_partnum(dumpfile_t *hdr)
hdr->partnum = 2;
hdr->totalparts = -1;
if (!PREV_RT(hdr)) return 0;
+ } else if (hdr->type == F_DUMPFILE) {
+ hdr->partnum = 1;
+ hdr->totalparts = 1;
+ if (!PREV_RT(hdr)) return 0;
} else {
hdr->partnum = 0;
hdr->totalparts = 0;