aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pipe.h4
-rw-r--r--src/core/protocol.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index 2b4feb7d..d12320b2 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -20,8 +20,8 @@ struct nng_pipe {
uint32_t p_id;
struct nni_pipe_ops p_ops;
void * p_trandata;
- void * p_pdata; // protocol specific data
- size_t p_psize; // size of protocol data
+ void * p_pdata; // protocol specific data
+ size_t p_psize; // size of protocol data
nni_list_node p_node;
nni_socket * p_sock;
nni_endpt * p_ep;
diff --git a/src/core/protocol.h b/src/core/protocol.h
index a8e93ea7..3a391ece 100644
--- a/src/core/protocol.h
+++ b/src/core/protocol.h
@@ -39,11 +39,11 @@ struct nni_protocol {
// Thread functions for processing send & receive sides of
// protocol pipes. Send may be NULL, but recv should should not.
// (Recv needs to detect a closed pipe, if nothing else.)
- void (*proto_pipe_send)(void *);
+ void (*proto_pipe_send)(void *);
void (*proto_pipe_recv)(void *);
// Option manipulation. These may be NULL.
- int (*proto_setopt)(void *, int, const void *, size_t);
+ int (*proto_setopt)(void *, int, const void *, size_t);
int (*proto_getopt)(void *, int, void *, size_t *);
// Receive filter. This may be NULL, but if it isn't, then