[PATCH] libusbhid(3) should not clear report_size field

Matthew N. Dodd mdodd at FreeBSD.ORG
Tue Jan 27 15:12:07 PST 2004


On Mon, 26 Jan 2004, Maksim Yevmenkin wrote:
> Index: src/lib/libusbhid/parse.c
> ===================================================================
> RCS file: /home/ncvs/src/lib/libusbhid/parse.c,v
> retrieving revision 1.8
> diff -u -r1.8 parse.c
> --- src/lib/libusbhid/parse.c   9 Apr 2003 01:52:48 -0000       1.8
> +++ src/lib/libusbhid/parse.c   26 Jan 2004 22:25:26 -0000
> @@ -86,7 +86,6 @@
>         c->string_minimum = 0;
>         c->string_maximum = 0;
>         c->set_delimiter = 0;
> -       c->report_size = 0;
>  }
>
>  hid_data_t

I've tried to keep them in sync in the past so this looks good to me.

-- 
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00


More information about the freebsd-current mailing list