-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>     for( tmp = usbDevs;  tmp; ) {
>         tmp = usbDevs->next;
>         free( usbDevs );
>         usbDevs = tmp;
>     }

should that not be
        tmp = usbDevs;
        while(tmp)  {
                ...
        }

??

Why use a for loop without an increment/decrement condition??

- --
Steve Welsh

/********************************************
You know, nostalgia is not what it used to be
********************************************/

Public Key http://www.stevew.net/public.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCp4Ff1teYsA+RuzIRAi1BAKCFlDt48T/oFBcqiHS6Hcu48Q2GLwCfeCKg
NCZBxzPx+h0TpsAXPjDzgmE=
=bbNm
-----END PGP SIGNATURE-----

Reply via email to