]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Don't make the JSON pretty
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Feb 2025 15:09:48 +0000 (15:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Feb 2025 15:09:48 +0000 (15:09 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/repo.c

index c65cc3bcb99edb51849c6a3873b6967ed09c03c3..0c0c56f78450795111a78531cf7d8f3caffd440a 100644 (file)
@@ -2233,7 +2233,7 @@ int pakfire_repo_write_metadata(struct pakfire_repo* self, struct pakfire_key* k
        }
 
        // Write out repomd.json
-       r = json_object_to_fd(fileno(f), repomd, JSON_C_TO_STRING_PRETTY);
+       r = json_object_to_fd(fileno(f), repomd, 0);
        if (r) {
                ERROR(self->ctx, "Could not write repomd.json: %m\n");
                goto ERROR;