correct handling of disc status and blank discs in read volset
This commit is contained in:
11
test/test.c
11
test/test.c
@ -117,17 +117,6 @@ int main(int argc, char **argv)
|
||||
printf("Can't read volset\n");
|
||||
goto exit_cleanup;
|
||||
}
|
||||
printf("Volset read\n");
|
||||
fflush(stdout);
|
||||
|
||||
if (!volset) {
|
||||
// TODO this piece of code should be inside libisoburn
|
||||
struct iso_volume *volume;
|
||||
|
||||
root = iso_tree_new_root();
|
||||
volume = iso_volume_new_with_root("NEW DISC", "", "LIBISOBURN", root);
|
||||
volset = iso_volset_new( volume, "VOLSETID" );
|
||||
}
|
||||
root = iso_volume_get_root(iso_volset_get_volume(volset, 0));
|
||||
|
||||
/* add a new dir */
|
||||
|
Reference in New Issue
Block a user