diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-04-27 23:35:25 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-04-27 23:35:25 -0700 |
| commit | 7bb5ab9c4f70c9fa0a67a22c4aee83b0109318c4 (patch) | |
| tree | 5a3036d609404ee5218b6189a89799e70f4623df /src/core/tcp.c | |
| parent | 70ae513e4dda50864f7d45b6676549ed5246144d (diff) | |
| download | nng-7bb5ab9c4f70c9fa0a67a22c4aee83b0109318c4.tar.gz nng-7bb5ab9c4f70c9fa0a67a22c4aee83b0109318c4.tar.bz2 nng-7bb5ab9c4f70c9fa0a67a22c4aee83b0109318c4.zip | |
Converted property functions to use nng_err.
Diffstat (limited to 'src/core/tcp.c')
| -rw-r--r-- | src/core/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/tcp.c b/src/core/tcp.c index 2017452b..5f663c19 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -204,14 +204,14 @@ tcp_dialer_dial(void *arg, nng_aio *aio) nni_mtx_unlock(&d->mtx); } -static int +static nng_err tcp_dialer_get(void *arg, const char *name, void *buf, size_t *szp, nni_type t) { tcp_dialer *d = arg; return (nni_tcp_dialer_get(d->d, name, buf, szp, t)); } -static int +static nng_err tcp_dialer_set( void *arg, const char *name, const void *buf, size_t sz, nni_type t) { |
