diff options
author | Justin Pettit <jpettit@nicira.com> | 2011-02-21 17:21:20 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-02-22 10:14:54 -0800 |
commit | aa31e6051dd9fb471562f4a2180acf9692c73a10 (patch) | |
tree | 640369ccca5a353a9712b7d669701632c6b7fb0a /lib/vconn.c | |
parent | a6c8e0d9e99f1eb341d87df26b6fa02dc051f4a0 (diff) |
vconn: Fix comparison that should be assignment in vconn_open_block().
Coverity #10702
Diffstat (limited to 'lib/vconn.c')
-rw-r--r-- | lib/vconn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vconn.c b/lib/vconn.c index 2df7a27a..6ea93667 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); |