lib: Fix off-by-one error in route-table.
[openvswitch] / lib / jsonrpc.c
index 7c761ea0dcf5a736e59cb60ce0a4e436bc8e1be6..fb20bc585663b16e0496eb8693ec27843c555701 100644 (file)
@@ -142,6 +142,12 @@ jsonrpc_wait(struct jsonrpc *rpc)
     }
 }
 
+/*
+ * Possible status values:
+ * - 0: no error yet
+ * - >0: errno value
+ * - EOF: end of file (remote end closed connection; not necessarily an error)
+ */
 int
 jsonrpc_get_status(const struct jsonrpc *rpc)
 {