From b62d236f7d267e5af9d8a7551d16876733fe2238 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 10 Sep 2022 21:36:49 +0000 Subject: [PATCH] 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 --- docs/libcurl/curl_ws_recv.3 | 2 +- docs/libcurl/curl_ws_send.3 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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.