ws union member must have actual struct at start not pointer
authorAndy Green <andy.green@linaro.org>
Wed, 24 Feb 2016 04:40:21 +0000 (12:40 +0800)
committerAndy Green <andy.green@linaro.org>
Thu, 25 Feb 2016 01:45:17 +0000 (09:45 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
changelog
lib/private-libwebsockets.h

index 9267d20..347b778 100644 (file)
--- a/changelog
+++ b/changelog
@@ -10,6 +10,9 @@ Fixes
 get sent a content-length resulting in the link hanging until the peer closed
 it.  attack.sh updated to add a test for this.
 
+3) MINOR An error about hdr struct in _lws_ws_related is corrected, it's not
+known to affect anything until after it was fixed
+
 Changes
 -------
 
index cd4cd80..af62e8f 100644 (file)
@@ -953,7 +953,7 @@ struct _lws_header_related {
 
 struct _lws_websocket_related {
        /* cheapest way to deal with ah overlap with ws union transition */
-       struct _lws_header_related *hdr;
+       struct _lws_header_related hdr;
        char *rx_ubuf;
        unsigned int rx_ubuf_alloc;
        struct lws *rx_draining_ext_list;