]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-json: fix doubled space
authorMike Yuan <me@yhndnzj.com>
Tue, 17 Feb 2026 14:57:36 +0000 (15:57 +0100)
committerMike Yuan <me@yhndnzj.com>
Tue, 17 Feb 2026 15:26:36 +0000 (16:26 +0100)
src/libsystemd/sd-json/sd-json.c

index 4ac50c20c9b09ccc02b8f92665db7309fb872131..247e9790fee5344d60be8e706e0fb833db540866 100644 (file)
@@ -5230,7 +5230,7 @@ _public_ int sd_json_dispatch_full(
                                 } else
                                         done++;
 
-                        } else  {
+                        } else {
                                 if (flags & SD_JSON_ALLOW_EXTENSIONS) {
                                         json_log(value, flags|SD_JSON_DEBUG, 0, "Unrecognized object field '%s', assuming extension.", sd_json_variant_string(key));
                                         continue;