]> git.openfabrics.org - ~shefty/librdmacm.git/commit
[3/5,librdmacm] rstream: initialize return value in server_connect()
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 9 Oct 2012 12:27:50 +0000 (12:27 +0000)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Oct 2012 16:57:09 +0000 (09:57 -0700)
commitd83ebbc0316d3f25be8a07fda013808b6e583d8f
tree999b4967a7c98b417b409f2d9018478091879091
parent1f1a03dae14cbb25a43b1b56aa5ae689776edc11
[3/5,librdmacm] rstream: initialize return value in server_connect()

If use_async == 0 and rs_accept() passes (i.e. non negative value), then
the return value from the function was uninitialized.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
examples/rstream.c