summaryrefslogtreecommitdiff
path: root/src/core/protocol.h
diff options
context:
space:
mode:
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 {