Coverity #10702
---
 lib/vconn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/vconn.c b/lib/vconn.c
index 2df7a27..6ea9366 100644
--- 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);
-- 
1.7.1


_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Reply via email to