From: Justin Pettit Date: Tue, 7 May 2013 04:30:26 +0000 (-0700) Subject: ovsdb-client: Fix recently introduced svec_sort() bug. X-Git-Tag: sliver-openvswitch-1.10.90-3~16^2~26 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=71fceeb0dac5d08daab53a9060cb10324b1abc0c ovsdb-client: Fix recently introduced svec_sort() bug. Commit 66980be9 (ovsdb-client: Avoid assertion with multiple databases.) passed in a pointer to an svec pointer, when it should have just been an svec pointer. This corrects the bug. Signed-off-by: Justin Pettit --- diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index 81dcc779b..c25148d48 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -392,7 +392,7 @@ fetch_dbs(struct jsonrpc *rpc, struct svec *dbs) svec_add(dbs, name->u.string); } jsonrpc_msg_destroy(reply); - svec_sort(&dbs); + svec_sort(dbs); } static void