Skip to content

Commit

Permalink
jsonrpc: Improve comment for jsonrpc_get_status().
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Pettit <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
justinpettit committed Sep 19, 2016
1 parent 9710ed1 commit 2a8e0b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/jsonrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ jsonrpc_wait(struct jsonrpc *rpc)
* - >0: errno value
* - EOF: end of file (remote end closed connection; not necessarily an error).
*
* When this functions nonzero, 'rpc' is effectively out of commission. 'rpc'
* will not receive any more messages and any further messages that one
* attempts to send with 'rpc' will be discarded. The caller can keep 'rpc'
* around as long as it wants, but it's not going to provide any more useful
* services.
* When this function returns nonzero, 'rpc' is effectively out of
* commission. 'rpc' will not receive any more messages and any further
* messages that one attempts to send with 'rpc' will be discarded. The
* caller can keep 'rpc' around as long as it wants, but it's not going
* to provide any more useful services.
*/
int
jsonrpc_get_status(const struct jsonrpc *rpc)
Expand Down

0 comments on commit 2a8e0b7

Please sign in to comment.