Commit NMU changes from Tim Retout <diocles@debian.org>

This commit is contained in:
Laurent Bigonville 2010-12-21 14:11:23 +01:00
parent 31a319d731
commit 69151f849c
2 changed files with 10 additions and 2 deletions

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
nut (2.4.3-1.1) unstable; urgency=low
* Non-maintainer upload.
* drivers/libhid.c: Apply r2407 from upstream to fix bug with some
low speed UPS devices. (Closes: #583371)
-- Tim Retout <diocles@debian.org> Fri, 15 Oct 2010 19:31:39 +0100
nut (2.4.3-1) unstable; urgency=low
* New upstream release (Closes: #544390, #528222, #539747, #526811,

View file

@ -141,7 +141,7 @@ static int refresh_report_buffer(reportbuf_t *rbuf, hid_dev_handle_t udev, HIDDa
{
int id = pData->ReportID;
int r;
unsigned char buf[SMALLBUF];
unsigned char buf[8];
if (rbuf->ts[id] + age > time(NULL)) {
/* buffered report is still good; nothing to do */
@ -469,7 +469,7 @@ bool_t HIDSetItemValue(hid_dev_handle_t udev, const char *hidpath, double Value,
*/
int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize)
{
unsigned char buf[SMALLBUF];
unsigned char buf[8];
int itemCount = 0;
int buflen, r, i;
HIDData_t *pData;