Made cdrskin work with null-drive (which it mistook for something like ATA:)

This commit is contained in:
Thomas Schmitt 2007-09-08 10:26:15 +00:00
parent c8c349469d
commit df382b3f06
2 changed files with 4 additions and 2 deletions

View File

@ -1909,8 +1909,10 @@ int Cdrpreskin__cdrecord_to_dev(char *adr, char device_adr[Cdrskin_adrleN],
digit_seen= 1;
}
if(!digit_seen) {
if(strcmp(adr,"stdio:")==0)
return(0);
k= strlen(adr)-1;
if(adr[k]==':' || (adr[k]>='A' && adr[k]<='Z')) { /* empty prefix ? */
if(adr[k]==':' || (adr[k]>='A' && adr[k]<='Z')) {/* empty prefix ? */
*driveno= 0;
return(1);
}

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.08.102151"
#define Cdrskin_timestamP "2007.09.08.102620"