summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-09-07 09:40:12 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-09-07 09:40:12 -0400
commit192422ef3b2e0bc533a25ca276f22f36a14265ef (patch)
treeefa64dfc4a6867b507a271f28adc1e5e321a0a5a /lib/command.c
parente77564ccd44aa527c7a26f1642bd8e8f5a5f724a (diff)
bgpd: Fix usage of JSON_C_TO_STRING_NOSLASHESCAPE
The usage of json_object_to_json_string_ext is mean 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 bgpd to just output with the NOSLASHESCAPE when outputting. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions