1
0
Fork 0
forked from len0rd/rockbox

remove some debug..

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14543 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christian Gmeiner 2007-08-30 19:55:36 +00:00
parent 4f8818241b
commit 649734f5fc
3 changed files with 1 additions and 10 deletions

View file

@ -35,10 +35,9 @@ static int usb_descriptor_fillbuf(void* buf, unsigned buflen, struct usb_descrip
for (; 0 != *src; src++) {
unsigned len = (*src)->bLength;
logf("len: %d", len);
if (len > buflen)
return -EINVAL;
memcpy(dest, *src, len);
buflen -= len;
dest += len;