On Fri, Nov 19, 2021 at 10:33 AM ceder (-) Per Cederqvist @ Pike (-) developers forum 10353@lyskom.lysator.liu.se wrote:
This code in lib/modules/Protocols.pmod/WebSocket.pmod seems to be missing an "e":
//! @decl int bufferedAmount //! Number of bytes in the send buffer. int `bufferdAmount() { return sizeof(out); }
I guess it should be "bufferedAmount", not "bufferdAmount"?
Yep, I'd agree.
It's entirely possible there's code in the wild depending on the misspelled version though. Might be worth adding the correct one and leaving the existing one as a deprecated alias for it.
ChrisA
pike-devel@lists.lysator.liu.se