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>
Tue, 21 Feb 2012 08:02:20 +0000 (00:02 -0800)
commitd35f8e72cdcfa7b99e1987bb17b7bc1035ce2213
treeb61c18c8c02f3fae7551dce552c7625ff6a3512a
parent491aa8847a05f3ab98e6e6bd2ac26e331c363b3d
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