diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-12-29 20:13:11 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-12-31 14:23:34 -0800 |
| commit | e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4 (patch) | |
| tree | fe6914c8b06e87880e72cb27486971bf7fc056ff /src/core/dialer.c | |
| parent | 97118a423a48ecea816f37cb86378c5bafba2d51 (diff) | |
| download | nng-e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4.tar.gz nng-e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4.tar.bz2 nng-e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4.zip | |
fixes #835 inproc should use new option API
Some more changes to use nni_type instead of nni_opt_type
are included as well.
Diffstat (limited to 'src/core/dialer.c')
| -rw-r--r-- | src/core/dialer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dialer.c b/src/core/dialer.c index 0c800333..f0589275 100644 --- a/src/core/dialer.c +++ b/src/core/dialer.c @@ -387,8 +387,8 @@ nni_dialer_sock(nni_dialer *d) } int -nni_dialer_setopt(nni_dialer *d, const char *name, const void *val, size_t sz, - nni_opt_type t) +nni_dialer_setopt( + nni_dialer *d, const char *name, const void *val, size_t sz, nni_type t) { nni_option *o; @@ -436,7 +436,7 @@ nni_dialer_setopt(nni_dialer *d, const char *name, const void *val, size_t sz, int nni_dialer_getopt( - nni_dialer *d, const char *name, void *valp, size_t *szp, nni_opt_type t) + nni_dialer *d, const char *name, void *valp, size_t *szp, nni_type t) { nni_option *o; |
