]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve-host/resolve-host.c
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / src / resolve-host / resolve-host.c
index 9847effb5334ffac1a08033cadf23587961e3292..22af092cc0b3cdcf0a863755472463bf39320062 100644 (file)
@@ -168,11 +168,10 @@ static int resolve_host(sd_bus *bus, const char *name) {
         if (r < 0)
                 return bus_log_parse_error(r);
 
-        if (!streq(name, canonical)) {
+        if (!streq(name, canonical))
                 printf("%*s%s (%s)\n",
                        (int) strlen(name), c == 0 ? name : "", c == 0 ? ":" : " ",
                        canonical);
-        }
 
         if (c == 0) {
                 log_error("%s: no addresses found", name);