Calling isoburn_cancel_prepared_write() after failed isoburn_disc_write()

This commit is contained in:
Thomas Schmitt 2008-05-06 08:44:28 +00:00
parent e412f65656
commit f830c30196
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.05.05.210317"
#define Xorriso_timestamP "2008.05.06.084439"

View File

@ -1027,6 +1027,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
if(ret<=0)
goto ex;
if(!isoburn_drive_wrote_well(drive)) {
isoburn_cancel_prepared_write(source_drive, drive, 0);
Xorriso_process_msg_queues(xorriso,0);
sprintf(xorriso->info_text,
"libburn indicates failure with writing.");