| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -238,7 +238,7 @@ void WebsocketHandler::send(uint8_t* data, uint16_t length, uint8_t sendType) { | |||
| 238 | 238 | frame.len = 126; | |
| 239 | 239 | _con->writeBuffer((uint8_t *)&frame, sizeof(frame)); | |
| 240 | 240 | uint16_t net_len = htons(length); | |
| 241 | - _con->writeBuffer((uint8_t *) net_len, sizeof(uint16_t)); // Convert to network byte order from host byte order | ||
| 241 | + _con->writeBuffer((uint8_t *)&net_len, sizeof(uint16_t)); // Convert to network byte order from host byte order | ||
| 242 | 242 | } | |
| 243 | 243 | _con->writeBuffer(data, length); | |
| 244 | 244 | HTTPS_LOGD("<< Websocket.send()"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments