diff --git a/libisoburn/trunk/src/isofs_wrap.c b/libisoburn/trunk/src/isofs_wrap.c index 7b670f93..54c0e746 100644 --- a/libisoburn/trunk/src/isofs_wrap.c +++ b/libisoburn/trunk/src/isofs_wrap.c @@ -86,7 +86,7 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt return 0; if (!o) { - return -1; + return -1; } status = isoburn_disc_get_status(d); @@ -109,6 +109,8 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt *volset = iso_volset_new(volume, "NEW VOLSET"); if (!*volset) return -1; + + o->target_volset = *volset; return 1; }