diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-09-07 09:36:39 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-07 09:36:39 -0400 |
| commit | e77564ccd44aa527c7a26f1642bd8e8f5a5f724a (patch) | |
| tree | f43662aa0d16e106239c250f334fe169b25792e9 /tests/topotests/example_test/test_example.py | |
| parent | b44f7c3f6d26ab3cbeb31432c3262735f5ccf379 (diff) | |
ospfd: Fix usage of JSON_C_TO_STRING_NOSLASHESCAPE
The usage of json_object_to_json_string_ext is meant for
generation of output string and returns a `char *` pointer
to the `formatted` output. Just calling it does nothing
and it's expensive to boot.
Modify the code in ospfd to just output with the NOSLASHESCAPE
when outputting.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/example_test/test_example.py')
0 files changed, 0 insertions, 0 deletions
