aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demo')
-rw-r--r--demo/stream/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/stream/stream.c b/demo/stream/stream.c
index 0c194111..86c1c98d 100644
--- a/demo/stream/stream.c
+++ b/demo/stream/stream.c
@@ -63,7 +63,7 @@ client(const char *url)
nng_iov iov;
int rv;
- // Allocatate dialer and aio assoicated with this connection
+ // Allocate dialer and aio associated with this connection
if ((rv = nng_stream_dialer_alloc(&dialer, url)) != 0) {
nng_fatal("call to nng_stream_dialer_alloc failed", rv);
}
@@ -125,7 +125,7 @@ server(const char *url)
nng_iov iov;
int rv;
- // Allocatate dialer and aio assoicated with this connection
+ // Allocate dialer and aio associated with this connection
if ((rv = nng_stream_listener_alloc(&listener, url)) != 0) {
nng_fatal("call to nng_stream_listener_alloc failed", rv);
}