]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journald-native.c
Merge pull request #6974 from keszybz/clean-up-defines
[thirdparty/systemd.git] / src / journal / journald-native.c
index e359bcf71492df9f4d8634cc3a10774f12182f39..d45c9c22705c150fea63ff95534f2b4b9311e991 100644 (file)
@@ -183,7 +183,7 @@ static int server_process_entry(
                         break;
                 }
 
-                if (*p == '.' || *p == '#') {
+                if (IN_SET(*p, '.', '#')) {
                         /* Ignore control commands for now, and
                          * comments too. */
                         *remaining -= (e - p) + 1;