diff options
Diffstat (limited to 'src/core/protocol.h')
| -rw-r--r-- | src/core/protocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/protocol.h b/src/core/protocol.h index 2b4625cb..b9760725 100644 --- a/src/core/protocol.h +++ b/src/core/protocol.h @@ -49,8 +49,10 @@ struct nni_protocol { * Shutdown the protocol instance, including giving time to * drain any outbound frames (linger). The protocol is not * required to honor the linger. + * XXX: This is probably redundant -- protocol should notice + * drain by getting NNG_ECLOSED on the upper write queue. */ - void (*proto_shutdown)(void *, uint64_t); + void (*proto_shutdown)(void *); /* * Add and remove pipes. These are called as connections are |
