string-table: make sure DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN() handles NULL string...
authorLennart Poettering <lennart@poettering.net>
Wed, 15 Jun 2016 20:25:48 +0000 (22:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Jun 2016 11:20:47 +0000 (13:20 +0200)
commit35ca4ce022aec65663baf9b4cf9f7f932e196237
treea3fe8fd2a5b952d692248047aa2501e034fb9c3d
parentbe371fe03937b6b3c45ee58a96622ff1849b14e4
string-table: make sure DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN() handles NULL strings nicely

xyz_from_string() functions defined with DEFINE_STRING_TABLE_LOOKUP() properly
handle NULL strings already. make sure the equivalent functions defined with
DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN() do the same.
src/basic/string-table.h