From 6df40cb6eea9a4220d61c4c927ce5a857a12a338 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 20 Mar 2018 18:38:54 -0700 Subject: fixes #301 String option handling for getopt --- src/core/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/protocol.h') diff --git a/src/core/protocol.h b/src/core/protocol.h index e0e0e0d7..1c341241 100644 --- a/src/core/protocol.h +++ b/src/core/protocol.h @@ -50,7 +50,7 @@ struct nni_proto_pipe_ops { struct nni_proto_sock_option { const char *pso_name; int pso_type; - int (*pso_getopt)(void *, void *, size_t *); + int (*pso_getopt)(void *, void *, size_t *, int); int (*pso_setopt)(void *, const void *, size_t); }; -- cgit v1.2.3-70-g09d2