From 8eaf26a91d11a29b6aa37411af11e2e29fca15fb Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 7 Jun 2004 00:24:45 +0000 Subject: [PATCH] Bug: wasn't adding drives with detected capability, but the first drive on the list of drives. Don't know how this went undetected this long. --- lib/cdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cdio.c b/lib/cdio.c index 179459ec..b9f050f9 100644 --- a/lib/cdio.c +++ b/lib/cdio.c @@ -1,5 +1,5 @@ /* - $Id: cdio.c,v 1.54 2004/05/27 01:06:34 rocky Exp $ + $Id: cdio.c,v 1.55 2004/06/07 00:24:45 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein Copyright (C) 2001 Herbert Valerio Riedel @@ -37,7 +37,7 @@ #include #include "cdio_private.h" -static const char _rcsid[] = "$Id: cdio.c,v 1.54 2004/05/27 01:06:34 rocky Exp $"; +static const char _rcsid[] = "$Id: cdio.c,v 1.55 2004/06/07 00:24:45 rocky Exp $"; const char *track_format2str[6] = @@ -386,7 +386,7 @@ cdio_get_devices_with_cap (char* search_devices[], ? (got_fs & need_fs_ext) != 0 : (got_fs | ~need_fs_ext) == -1; if (doit) - cdio_add_device_list(&drives_ret, *drives, &num_drives); + cdio_add_device_list(&drives_ret, *d, &num_drives); } cdio_destroy(cdio);