git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66980be
)
ovsdb-client: Fix recently introduced svec_sort() bug.
author
Justin Pettit
<jpettit@nicira.com>
Tue, 7 May 2013 04:30:26 +0000
(21:30 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 7 May 2013 04:30:26 +0000
(21:30 -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
patch
|
blob
|
history
diff --git
a/ovsdb/ovsdb-client.c
b/ovsdb/ovsdb-client.c
index
81dcc77
..
c25148d
100644
(file)
--- 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);
}
\f
static void