summaryrefslogtreecommitdiff
path: root/tests/topotests/example_test/test_example.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-09-07 09:36:39 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-09-07 09:36:39 -0400
commite77564ccd44aa527c7a26f1642bd8e8f5a5f724a (patch)
treef43662aa0d16e106239c250f334fe169b25792e9 /tests/topotests/example_test/test_example.py
parentb44f7c3f6d26ab3cbeb31432c3262735f5ccf379 (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