Changeset 63dabb6 in mainline for uspace/lib/usb/src/host/bandwidth.c


Ignore:
Timestamp:
2011-04-04T19:21:57Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
65369473
Parents:
baa9d5d
Message:

Fix hash table compare function return value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/host/bandwidth.c

    rbaa9d5d r63dabb6  
    6666        const size_t bytes =
    6767            keys < MAX_KEYS ? keys * sizeof(unsigned long) : sizeof(transfer_t);
    68         return bcmp(key, &status->transfer, bytes);
     68        return bcmp(key, &status->transfer, bytes) == 0;
    6969}
    7070/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.