jsonrpc: Check RPC status after trying to send, not before.
authorBen Pfaff <blp@nicira.com>
Mon, 11 Jan 2010 21:06:42 +0000 (13:06 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Jan 2010 21:06:42 +0000 (13:06 -0800)
commitf3d00a23ad9537df1e8852595d7c3737782e014c
treee4a8b16c59005f3d232670eef305982e7bc6e42a
parent03b1f24ebf7663f5695950f4586e259be9012174
jsonrpc: Check RPC status after trying to send, not before.

This usually prevented JSON-RPC over SSL from working.

Reported-by: Jeremy Stribling <strib@nicira.com>
lib/jsonrpc.c