diff options
author | Tim Gates <tim.gates@iress.com> | 2021-06-14 07:46:28 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 14:46:28 -0700 |
commit | bb59a9f2a4b4fb4c7ee0ab622eb0bdc8a24a5167 (patch) | |
tree | 5a331de16dab420cc6bf210b792c3250c7869a4f | |
parent | 207d452bd5159422261f7e64f259140937027c8e (diff) | |
download | nanomsg-bb59a9f2a4b4fb4c7ee0ab622eb0bdc8a24a5167.tar.gz |
docs: fix simple typo, attemps -> attempts (#1053)
-rw-r--r-- | src/transports/ipc/cipc.c | 2 | ||||
-rw-r--r-- | src/transports/tcp/btcp.c | 2 | ||||
-rw-r--r-- | src/transports/tcp/ctcp.c | 2 | ||||
-rw-r--r-- | src/transports/ws/bws.c | 2 | ||||
-rw-r--r-- | src/transports/ws/cws.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/transports/ipc/cipc.c b/src/transports/ipc/cipc.c index db64cf5..a6d0093 100644 --- a/src/transports/ipc/cipc.c +++ b/src/transports/ipc/cipc.c @@ -315,7 +315,7 @@ static void nn_cipc_handler (struct nn_fsm *self, int src, int type, /******************************************************************************/ /* WAITING state. */ /* Waiting before re-connection is attempted. This way we won't overload */ -/* the system by continuous re-connection attemps. */ +/* the system by continuous re-connection attempts. */ /******************************************************************************/ case NN_CIPC_STATE_WAITING: switch (src) { diff --git a/src/transports/tcp/btcp.c b/src/transports/tcp/btcp.c index 1fdef03..58e6d3e 100644 --- a/src/transports/tcp/btcp.c +++ b/src/transports/tcp/btcp.c @@ -48,7 +48,7 @@ #endif /* The backlog is set relatively high so that there are not too many failed - connection attemps during re-connection storms. */ + connection attempts during re-connection storms. */ #define NN_BTCP_BACKLOG 100 #define NN_BTCP_STATE_IDLE 1 diff --git a/src/transports/tcp/ctcp.c b/src/transports/tcp/ctcp.c index b74b5a0..c754fd2 100644 --- a/src/transports/tcp/ctcp.c +++ b/src/transports/tcp/ctcp.c @@ -439,7 +439,7 @@ static void nn_ctcp_handler (struct nn_fsm *self, int src, int type, /******************************************************************************/ /* WAITING state. */ /* Waiting before re-connection is attempted. This way we won't overload */ -/* the system by continuous re-connection attemps. */ +/* the system by continuous re-connection attempts. */ /******************************************************************************/ case NN_CTCP_STATE_WAITING: switch (src) { diff --git a/src/transports/ws/bws.c b/src/transports/ws/bws.c index 1242f8a..cc3916a 100644 --- a/src/transports/ws/bws.c +++ b/src/transports/ws/bws.c @@ -47,7 +47,7 @@ #endif /* The backlog is set relatively high so that there are not too many failed - connection attemps during re-connection storms. */ + connection attempts during re-connection storms. */ #define NN_BWS_BACKLOG 100 #define NN_BWS_STATE_IDLE 1 diff --git a/src/transports/ws/cws.c b/src/transports/ws/cws.c index 3a72189..7b46529 100644 --- a/src/transports/ws/cws.c +++ b/src/transports/ws/cws.c @@ -519,7 +519,7 @@ static void nn_cws_handler (struct nn_fsm *self, int src, int type, /******************************************************************************/ /* WAITING state. */ /* Waiting before re-connection is attempted. This way we won't overload */ -/* the system by continuous re-connection attemps. */ +/* the system by continuous re-connection attempts. */ /******************************************************************************/ case NN_CWS_STATE_WAITING: switch (src) { |