jsonrpc: Don't swallow errors in jsonrpc_transact_block().
authorEthan Jackson <ethan@nicira.com>
Thu, 16 Feb 2012 03:38:27 +0000 (19:38 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 8 Mar 2012 19:22:21 +0000 (11:22 -0800)
commit6d69f12d05108cc023ca688adf0fd37714f5bc5c
treed46336b6fd969ca8153fd27c3eab7ecb646922c5
parent76bac390cf3df826faf1523b9395a51315f9dcc1
jsonrpc: Don't swallow errors in jsonrpc_transact_block().

If a server returned an error in response to a request,
jsonrpc_transact_block() would ignore it.  This patch changes the
behavior and updates its callers to gracefully handle the
possibility.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/jsonrpc.c
ovsdb/ovsdb-client.c
tests/test-ovsdb.c