1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

docs: correct lws_random doxygen docs 9

This commit is contained in:
Andy Green 2019-03-24 14:03:31 +08:00
parent 53c932e05d
commit 59b468845d

View file

@ -444,9 +444,8 @@ lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len);
* \param buf: buffer to fill
* \param len: how much to fill
*
* This is intended to be called from the LWS_CALLBACK_RECEIVE callback if
* it's interested to see if the frame it's dealing with was sent in binary
* mode.
* Fills buf with len bytes of random. Returns the number of bytes set, if
* not equal to len, then getting the random failed.
*/
LWS_VISIBLE LWS_EXTERN int
lws_get_random(struct lws_context *context, void *buf, int len);