]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of rs-delay
authorSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:58:18 +0000 (15:58 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:58:18 +0000 (15:58 -0700)
examples/rstream.c

index 825c4deeef513c6fdb48a79cdc8d00b7d5de2aa3..a214b1a1b97005346675cb09481e4604ca26f2e6 100644 (file)
@@ -485,7 +485,6 @@ static int set_test_opt(char *optarg)
                        break;
                case 'b':
                        flags &= ~MSG_DONTWAIT;
-                       no_delay = 0;
                        break;
                case 'n':
                        flags |= MSG_DONTWAIT;
@@ -503,7 +502,6 @@ static int set_test_opt(char *optarg)
                        use_async = 1;
                } else if (!strncasecmp("block", optarg, 5)) {
                        flags &= ~MSG_DONTWAIT;
-                       no_delay = 0;
                } else if (!strncasecmp("nonblock", optarg, 8)) {
                        flags |= MSG_DONTWAIT;
                } else if (!strncasecmp("verify", optarg, 6)) {