]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
[4/5,librdmacm] rstream: added missing return is accept() failed
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 9 Oct 2012 12:27:51 +0000 (12:27 +0000)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Oct 2012 16:58:54 +0000 (09:58 -0700)
Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
examples/rstream.c

index 6ef60a19c8ba19b37c6bc9f80fa87167a8d918c1..d65c48df9a97272ec460ad89bc80ac04a11bd12d 100644 (file)
@@ -464,6 +464,7 @@ static int server_connect(void)
        if (rs < 0) {
                ret = rs;
                perror("raccept");
+               return ret;
        }
 
        if (use_fork)