X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=common-src%2Ffileheader-test.c;h=c917e2a3ac0f42a6dd6eeb02f5ad95e3ea3684ab;hp=f2b26649ec28462450e895119793a355c806616e;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e diff --git a/common-src/fileheader-test.c b/common-src/fileheader-test.c index f2b2664..c917e2a 100644 --- 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;