mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
need format
This commit is contained in:
@@ -255,7 +255,7 @@ void pcppubkey_print(pcp_pubkey_t *key, FILE* out) {
|
|||||||
json_object_set(jout, "random-art-id", json_string(r));
|
json_object_set(jout, "random-art-id", json_string(r));
|
||||||
|
|
||||||
jdump = json_dumps(jout, JSON_INDENT(4) | JSON_PRESERVE_ORDER);
|
jdump = json_dumps(jout, JSON_INDENT(4) | JSON_PRESERVE_ORDER);
|
||||||
fprintf(out, jdump);
|
fprintf(out, "%s\n", jdump);
|
||||||
json_decref(jout);
|
json_decref(jout);
|
||||||
free(jdump);
|
free(jdump);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user