summaryrefslogtreecommitdiff
path: root/lib/jsonrpc.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2016-08-11 10:31:43 -0700
committerJustin Pettit <jpettit@ovn.org>2016-09-19 09:06:17 -0700
commit2a8e0b7c0331aca51e4979c7df180e409523e520 (patch)
tree09e1aefca16d67c1fab6ea60c79f3115793ab583 /lib/jsonrpc.c
parent9710ed19a4710fb6c8522a30668abda7a8bb5f0e (diff)
downloadopenvswitch-2a8e0b7c0331aca51e4979c7df180e409523e520.tar.gz
jsonrpc: Improve comment for jsonrpc_get_status().
Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/jsonrpc.c')
-rw-r--r--lib/jsonrpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
index 1841568b5..a0ade9c14 100644
--- a/lib/jsonrpc.c
+++ b/lib/jsonrpc.c
@@ -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)