aboutsummaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2013-05-06 21:30:26 -0700
committerJustin Pettit <jpettit@nicira.com>2013-05-06 21:47:22 -0700
commitca7530cdc166e8e5f3ec41f98b2023c55312ea23 (patch)
treed6ace86f1a781b3b475edf4e315d9aa2d362983d /ovsdb
parentb031b4dd05c0678997cf0ca53bb8ced548de746f (diff)
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 <jpettit@nicira.com>
Diffstat (limited to 'ovsdb')
-rw-r--r--ovsdb/ovsdb-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c
index bba9782c..c02287ff 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