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;
}
/* one function for each field; each fn calls the one above */
-static int
+static gboolean
test_roundtrip(void)
{
int rv;
rv = PREV_RT(&hdr);
tu_dbg("%d round-trips run\n", n_round_trips);
- return rv;
+ return (rv) ? TRUE : FALSE;
}
/* doc