jsonrpc: use json_to_ds to speed up jsonrpc_send
authorAndy Zhou <azhou@nicira.com>
Tue, 11 Aug 2015 21:11:58 +0000 (14:11 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 1 Sep 2015 22:17:42 +0000 (15:17 -0700)
commit71cc59f928f1fae64645540463da41f3c44f761a
treeadec89b0ac87f9eaea7d9d08ffaa67a2aa7a6f6a
parent37e237206c12af5773feb519e56c4534b750aeac
jsonrpc: use json_to_ds to speed up jsonrpc_send

This change reuses the string length that available from 'ds', saving
a strlen() call.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/jsonrpc.c