libudev: enumerate - accept NULL parameters in add_match()
authorTom Gundersen <teg@jklm.no>
Wed, 3 Jun 2015 20:08:46 +0000 (22:08 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 3 Jun 2015 20:08:46 +0000 (22:08 +0200)
commit54f0b4d9a3e3e1b955d0b0021d9678571d91a5ef
tree2fa5df71f3e422b55dfa18c7bbd707912e56103b
parent602ee553e40571eeb92e7a6f397550355ba0228b
libudev: enumerate - accept NULL parameters in add_match()

This was a regression introduced when moving to sd-device.
src/libsystemd/sd-device/device-enumerator.c
src/libudev/libudev-enumerate.c