From: Yu Watanabe Date: Thu, 18 Oct 2018 08:50:25 +0000 (+0900) Subject: bus-unit-util: use streq() instead of STR_IN_SET() X-Git-Tag: v240~523 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=691d6f6d76c125120be1e996968eb9ecdd851012;p=thirdparty%2Fsystemd.git bus-unit-util: use streq() instead of STR_IN_SET() Follow-up for 90fc172e191f44979005a524521112f2bd1ff21b (#10308). --- diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 0a210425110..2cd30e34675 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -800,7 +800,7 @@ static int bus_append_execute_property(sd_bus_message *m, const char *field, con return bus_append_parse_nsec(m, field, eq); - if (STR_IN_SET(field, "LogRateLimitIntervalSec")) + if (streq(field, "LogRateLimitIntervalSec")) return bus_append_parse_sec_rename(m, field, eq);