aboutsummaryrefslogtreecommitdiff
path: root/src/core/protocol.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-04-04 11:07:56 -0700
committerGarrett D'Amore <garrett@damore.org>2018-04-04 11:07:56 -0700
commit505a9bce029e51540739c853a6c9eef0ecfb2e90 (patch)
treed907679b6ab99bcb5da919db3d005d4976590c21 /src/core/protocol.h
parent0aa1de1316b46bb4af23fdf26759bca08008eaf5 (diff)
downloadnng-505a9bce029e51540739c853a6c9eef0ecfb2e90.tar.gz
nng-505a9bce029e51540739c853a6c9eef0ecfb2e90.tar.bz2
nng-505a9bce029e51540739c853a6c9eef0ecfb2e90.zip
fixes #329 type checking not done for setopt
Diffstat (limited to 'src/core/protocol.h')
-rw-r--r--src/core/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/protocol.h b/src/core/protocol.h
index 1c341241..01e3d11c 100644
--- a/src/core/protocol.h
+++ b/src/core/protocol.h
@@ -51,7 +51,7 @@ struct nni_proto_sock_option {
const char *pso_name;
int pso_type;
int (*pso_getopt)(void *, void *, size_t *, int);
- int (*pso_setopt)(void *, const void *, size_t);
+ int (*pso_setopt)(void *, const void *, size_t, int);
};
struct nni_proto_sock_ops {