]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of 4-5-librdmacm-rstream-added-mi
authorSean Hefty <sean.hefty@intel.com>
Tue, 9 Oct 2012 17:00:12 +0000 (10:00 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Oct 2012 17:00:12 +0000 (10:00 -0700)
examples/rstream.c

index d65c48df9a97272ec460ad89bc80ac04a11bd12d..069b7c9f4b9874ef5cb57460ea4a6cfb861e29b4 100644 (file)
@@ -462,9 +462,8 @@ static int server_connect(void)
                rs = rs_accept(lrs, NULL, 0);
        } while (rs < 0 && (errno == EAGAIN || errno == EWOULDBLOCK));
        if (rs < 0) {
-               ret = rs;
                perror("raccept");
-               return ret;
+               return rs;
        }
 
        if (use_fork)