aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pubsub0/pub.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/pubsub0/pub.c')
-rw-r--r--src/protocol/pubsub0/pub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/pubsub0/pub.c b/src/protocol/pubsub0/pub.c
index 22195c52..a42e95ff 100644
--- a/src/protocol/pubsub0/pub.c
+++ b/src/protocol/pubsub0/pub.c
@@ -289,7 +289,7 @@ pub0_sock_get_sendfd(void *arg, void *buf, size_t *szp, nni_type t)
int fd;
int rv;
nni_mtx_lock(&sock->mtx);
- // PUB sockets are *always* sendable.
+ // PUB sockets are *always* writable.
nni_pollable_raise(sock->sendable);
rv = nni_pollable_getfd(sock->sendable, &fd);
nni_mtx_unlock(&sock->mtx);