]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of conn-err
authorSean Hefty <sean.hefty@intel.com>
Mon, 21 May 2012 23:47:14 +0000 (16:47 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 21 May 2012 23:47:14 +0000 (16:47 -0700)
examples/rstream.c

index 34ff42102ff29f50a196cd9c32a660d8ff386b4c..d2f4a9bbebcd6fc265a81f9a745ad1ee5f9ad600 100644 (file)
@@ -484,7 +484,8 @@ static int client_connect(void)
                if (ret)
                        goto err;
                if (err) {
-                       ret = rdma_seterrno(err);
+                       ret = -1;
+                       errno = err;
                        perror("async rconnect")
                        goto err;
                }