diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-08-19 16:53:50 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-19 16:53:50 -0700 |
| commit | 8a57f51bc717f816840f9168e8558e9e80bbea8a (patch) | |
| tree | d7293906d82b174c8235a015b54f4933e20e4f9f /src/core | |
| parent | 8ac0bd28f616d04c517653c79e6fdab74712fe61 (diff) | |
| download | nng-8a57f51bc717f816840f9168e8558e9e80bbea8a.tar.gz nng-8a57f51bc717f816840f9168e8558e9e80bbea8a.tar.bz2 nng-8a57f51bc717f816840f9168e8558e9e80bbea8a.zip | |
Remove dead #if 0 code in dialer.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/dialer.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/dialer.c b/src/core/dialer.c index 45d5150e..77ecbe7f 100644 --- a/src/core/dialer.c +++ b/src/core/dialer.c @@ -287,15 +287,6 @@ nni_dialer_start(nni_dialer *d, int flags) } nni_aio_begin(aio); } -#if 0 - if ((flags & NNG_FLAG_NONBLOCK) != 0) { - nni_mtx_lock(&d->d_mtx); - d->d_currtime = d->d_inirtime; - nni_mtx_unlock(&d->d_mtx); - dialer_connect_start(d); - return (0); - } -#endif nni_mtx_lock(&d->d_mtx); d->d_user_aio = aio; |
