The second strchr was returning 0.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of David Brownell > Sent: Monday, July 22, 2002 8:03 AM > To: Christopher Hoover > Cc: [EMAIL PROTECTED] > Subject: Re: [linux-usb-devel] [PATH] set_device_description oops fix > > > Christopher Hoover wrote: > > This version doesn't oops and is perspicuous. > > > > I haved tested it in the "both strings" case (which made > the old code > > oops) and in the "no strings" case. > > What was the problem with the old code though? > > That was tested in all four cases ... was it just that > you had a device with extra-long strings? > > - Dave > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/l> inux-usb-devel > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
