chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:13:01 +0000 (10:13 +0200)
commitb14e279c9d24f926007ffacf12a261b6dc30f4d0
tree416987ab3d4e9cf6daa4c1e1b45160929965eaac
parent8e672b6af770c75a69b1a026cbfef7f1ff6e598c
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