ovsdb-client: Fix recently introduced svec_sort() bug.
authorJustin Pettit <jpettit@nicira.com>
Tue, 7 May 2013 04:30:26 +0000 (21:30 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 7 May 2013 04:47:22 +0000 (21:47 -0700)
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>
ovsdb/ovsdb-client.c

index bba9782..c02287f 100644 (file)
@@ -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);
 }
 \f
 static void