Fix two typos.
authorPeter Pentchev <roam@ringlet.net>
Thu, 7 Feb 2013 14:17:13 +0000 (16:17 +0200)
committerAndy Green <andy.green@linaro.org>
Thu, 7 Feb 2013 15:23:10 +0000 (23:23 +0800)
lib/libwebsockets.h
test-server/test-ping.c

index 046ad0e..9245c7f 100644 (file)
@@ -694,7 +694,7 @@ struct libwebsocket_protocols {
  * @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
  */
index f83fe92..ee390ce 100644 (file)
@@ -433,7 +433,7 @@ int main(int argc, char **argv)
                                 "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;
                }