diff options
Diffstat (limited to 'src/supplemental')
| -rw-r--r-- | src/supplemental/ipc/ipc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/supplemental/ipc/ipc.c b/src/supplemental/ipc/ipc.c index 36c18563..f5e590fc 100644 --- a/src/supplemental/ipc/ipc.c +++ b/src/supplemental/ipc/ipc.c @@ -54,13 +54,15 @@ nng_ipc_recv(nng_ipc *ipc, nng_aio *aio) int nng_ipc_setopt(nng_ipc *ipc, const char *name, const void *val, size_t sz) { - return (nni_ipc_conn_setopt((void *) ipc, name, val, sz)); + return ( + nni_ipc_conn_setopt((void *) ipc, name, val, sz, NNI_TYPE_OPAQUE)); } int nng_ipc_getopt(nng_ipc *ipc, const char *name, void *val, size_t *szp) { - return (nni_ipc_conn_getopt((void *) ipc, name, val, szp)); + return (nni_ipc_conn_getopt( + (void *) ipc, name, val, szp, NNI_TYPE_OPAQUE)); } int |
