[ovs-dev] [PATCH 1/3] jsonrpc: Improve comment for jsonrpc_get_status().

Justin Pettit jpettit at ovn.org
Fri Sep 16 18:27:00 UTC 2016


Signed-off-by: Justin Pettit <jpettit at ovn.org>
---
 lib/jsonrpc.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
index 1841568..a0ade9c 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)
-- 
1.9.1




More information about the dev mailing list