From dc268c788e287da920a90e287339d3eac1f05a5e Mon Sep 17 00:00:00 2001 From: Jeremy Stribling Date: Fri, 6 Nov 2009 10:54:16 -0800 Subject: [PATCH] ovsdb: Fix bug in JSON-RPC server. --- ovsdb/jsonrpc-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c index 36c9a7a2..f6770640 100644 --- a/ovsdb/jsonrpc-server.c +++ b/ovsdb/jsonrpc-server.c @@ -186,7 +186,7 @@ ovsdb_jsonrpc_server_wait(struct ovsdb_jsonrpc_server *svr) if (svr->n_sessions < svr->max_sessions) { size_t i; - for (i = 0; i < svr->n_sessions; i++) { + for (i = 0; i < svr->n_listeners; i++) { pstream_wait(svr->listeners[i]); } } -- 2.30.2