Explorar o código

fix seems OK - remove comment

bel %!s(int64=11) %!d(string=hai) anos
pai
achega
70bb07b3e4
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/civetweb.c

+ 0 - 2
src/civetweb.c

@@ -4938,8 +4938,6 @@ static void read_websocket(struct mg_connection *conn)
             }
         }
 
-        // TODO: check this !!!
-        // if (header_len > 0) {
         if (header_len > 0 && body_len >= header_len) {
             /* Allocate space to hold websocket payload */
             data = mem;