Store passed in messagedest in initializing drive object.

This commit is contained in:
rocky
2006-03-25 00:20:28 +00:00
parent aa838fc894
commit 1dfc5d1146

View File

@@ -1,5 +1,5 @@
/* /*
$Id: scan_devices.c,v 1.29 2005/08/27 14:28:30 rocky Exp $ $Id: scan_devices.c,v 1.30 2006/03/25 00:20:28 rocky Exp $
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
Copyright (C) 1998 Monty xiphmont@mit.edu Copyright (C) 1998 Monty xiphmont@mit.edu
@@ -300,6 +300,7 @@ cdda_identify_device_cdio(CdIo_t *p_cdio, const char *psz_device,
d->drive_type = drive_type; d->drive_type = drive_type;
d->bigendianp = -1; /* We don't know yet... */ d->bigendianp = -1; /* We don't know yet... */
d->nsectors = -1; /* We don't know yet... */ d->nsectors = -1; /* We don't know yet... */
d->messagedest = messagedest;
d->b_swap_bytes = true; d->b_swap_bytes = true;
{ {