jsonrpc: Propagate error code to reconnect_disconnected().
authorBen Pfaff <blp@nicira.com>
Fri, 11 Jun 2010 21:39:13 +0000 (14:39 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Jun 2010 18:49:56 +0000 (11:49 -0700)
commit41630cfbc3230ee48d6b4031ec6cffba2cbb3d10
treeb91e4c6f8c0049aa0a7e55678191c4977523b71a
parent97f7803b8eb6f9967ed6090eec1cd2533bad2afe
jsonrpc: Propagate error code to reconnect_disconnected().

Always passing 0 to reconnect_disconnected() means that it uses a generic
log message ("connection dropped").  By passing the error code, as done by
this commit, reconnect_disconnected() can log a more specific message.
lib/jsonrpc.c