src BUGFIX typos
diff --git a/src/io.c b/src/io.c
index efcb1ab..571a9b1 100644
--- a/src/io.c
+++ b/src/io.c
@@ -196,7 +196,7 @@
session->term_reason = NC_SESSION_TERM_OTHER;
return -1;
default:
- ERR(session, "Unknown SSL error occured (err code %d).", e);
+ ERR(session, "Unknown SSL error occurred (err code %d).", e);
session->status = NC_STATUS_INVALID;
session->term_reason = NC_SESSION_TERM_OTHER;
return -1;
@@ -737,7 +737,7 @@
free(reasons);
return -1;
default:
- ERR(session, "Unknown SSL error occured (err code %d).", e);
+ ERR(session, "Unknown SSL error occurred (err code %d).", e);
return -1;
}
}
diff --git a/src/session_client.c b/src/session_client.c
index 6feb00d..430b17c 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -1827,7 +1827,7 @@
* @param[out] message If receiving a message succeeded this is the message, NULL otherwise.
* @return NC_MSG_REPLY If a rpc-reply was received;
* @return NC_MSG_NOTIF If a notification was received;
- * @return NC_MSG_ERROR If any error occured;
+ * @return NC_MSG_ERROR If any error occurred;
* @return NC_MSG_WOULDBLOCK If the timeout was reached.
*/
static NC_MSG_TYPE
diff --git a/src/session_server.c b/src/session_server.c
index 4a05771..51ec293 100644
--- a/src/session_server.c
+++ b/src/session_server.c
@@ -1034,7 +1034,7 @@
/* add ourselves into the queue */
nc_ps_queue_add_id(ps, id);
- DBL(NULL, "PS 0x%p TID %lu queue: added %u, head %u, lenght %u", ps, (long unsigned int)pthread_self(), *id,
+ DBL(NULL, "PS 0x%p TID %lu queue: added %u, head %u, length %u", ps, (long unsigned int)pthread_self(), *id,
ps->queue[ps->queue_begin], ps->queue_len);
/* is it our turn? */
@@ -1095,7 +1095,7 @@
/* remove ourselves from the queue */
nc_ps_queue_remove_id(ps, id);
- DBL(NULL, "PS 0x%p TID %lu queue: removed %u, head %u, lenght %u", ps, (long unsigned int)pthread_self(), id,
+ DBL(NULL, "PS 0x%p TID %lu queue: removed %u, head %u, length %u", ps, (long unsigned int)pthread_self(), id,
ps->queue[ps->queue_begin], ps->queue_len);
/* broadcast to all other threads that the queue moved */