From: Viktor Szakats Date: Sat, 10 Sep 2022 21:36:49 +0000 (+0000) Subject: websockets: sync prototypes in docs with implementation [ci skip] X-Git-Tag: curl-7_86_0~263 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b62d236f7d267e5af9d8a7551d16876733fe2238;p=thirdparty%2Fcurl.git websockets: sync prototypes in docs with implementation [ci skip] Docs for the new send/recv functions synced with the committed versions of these. Closes #9470 --- diff --git a/docs/libcurl/curl_ws_recv.3 b/docs/libcurl/curl_ws_recv.3 index b13b598324..5315c56266 100644 --- a/docs/libcurl/curl_ws_recv.3 +++ b/docs/libcurl/curl_ws_recv.3 @@ -30,7 +30,7 @@ curl_ws_recv - receive websocket data #include CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen, - size_t *nread, unsigned int *recvflags); + size_t *recv, unsigned int *recvflags); .fi .SH DESCRIPTION This function call is EXPERIMENTAL. diff --git a/docs/libcurl/curl_ws_send.3 b/docs/libcurl/curl_ws_send.3 index 098cba6891..89afc8582b 100644 --- a/docs/libcurl/curl_ws_send.3 +++ b/docs/libcurl/curl_ws_send.3 @@ -29,8 +29,8 @@ curl_ws_send - receive websocket data .nf #include -CURLcode curl_ws_send(CURL *curl, char *buffer, size_t buflen, size_t *sent, - unsigned int sendflags); +CURLcode curl_ws_send(CURL *curl, const void *buffer, size_t buflen, + size_t *sent, unsigned int sendflags); .fi .SH DESCRIPTION This function call is EXPERIMENTAL.