chiark / gitweb /
bus-driverd: do not track identical matches
authorKay Sievers <kay@vrfy.org>
Wed, 8 Jan 2014 13:32:37 +0000 (21:32 +0800)
committerKay Sievers <kay@vrfy.org>
Wed, 8 Jan 2014 13:38:20 +0000 (21:38 +0800)
commit234e28aa1cd37dee597c719ac5ca004c6215d28c
tree16ccdb77d75c36de371110837dad21afc3316c5e
parent743e7e5242b72dac182b4c15ff3a48be83277ece
bus-driverd: do not track identical matches

Identical matches are only one time in the hash map but multiple
times in the list; when removing, the hash will be empty but the
list still has entries.

Not adding dupicates to the list should keep us in sync and prevent
hitting the assert.
src/bus-driverd/bus-driverd.c