Fix two typos.
diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h
index 046ad0e..9245c7f 100644
--- a/lib/libwebsockets.h
+++ b/lib/libwebsockets.h
@@ -694,7 +694,7 @@
* @per_session_data_size: Libwebsockets will auto-malloc this much
* memory for the use of the extension, a pointer
* to it comes in the @user callback parameter
- * @per_context_private_data: Optional storage for this externsion that
+ * @per_context_private_data: Optional storage for this extension that
* is per-context, so it can track stuff across
* all sessions, etc, if it wants
*/
diff --git a/test-server/test-ping.c b/test-server/test-ping.c
index f83fe92..ee390ce 100644
--- a/test-server/test-ping.c
+++ b/test-server/test-ping.c
@@ -433,7 +433,7 @@
"origin", protocols[PROTOCOL_LWS_MIRROR].name,
ietf_version);
if (ping_wsi[n] == NULL) {
- fprintf(stderr, "client connnection %d failed to "
+ fprintf(stderr, "client connection %d failed to "
"connect\n", n);
return 1;
}