projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c8e0d
)
vconn: Fix comparison that should be assignment in vconn_open_block().
author
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Feb 2011 01:21:20 +0000
(17:21 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Feb 2011 18:14:54 +0000
(10:14 -0800)
Coverity #10702
lib/vconn.c
patch
|
blob
|
history
diff --git
a/lib/vconn.c
b/lib/vconn.c
index
2df7a27
..
6ea9366
100644
(file)
--- a/
lib/vconn.c
+++ b/
lib/vconn.c
@@
-283,7
+283,7
@@
vconn_open_block(const char *name, int min_version, struct vconn **vconnp)
error = vconn_open(name, min_version, &vconn);
if (!error) {
- while ((error =
=
vconn_connect(vconn)) == EAGAIN) {
+ while ((error = vconn_connect(vconn)) == EAGAIN) {
vconn_run(vconn);
vconn_run_wait(vconn);
vconn_connect_wait(vconn);