mirror of
https://github.com/curl/curl.git
synced 2026-07-25 12:27:16 +03:00
parent
7a1e99eefa
commit
0476e4fc65
149 changed files with 1381 additions and 1376 deletions
|
|
@ -33,8 +33,8 @@ static size_t write_cb(char *b, size_t size, size_t nitems, void *p)
|
|||
CURL *curl = p;
|
||||
size_t i;
|
||||
const struct curl_ws_frame *frame = curl_ws_meta(curl);
|
||||
fprintf(stderr, "Type: %s\n", frame->flags & CURLWS_BINARY ?
|
||||
"binary" : "text");
|
||||
fprintf(stderr, "Type: %s\n",
|
||||
frame->flags & CURLWS_BINARY ? "binary" : "text");
|
||||
fprintf(stderr, "Bytes: %u", (unsigned int)(nitems * size));
|
||||
for(i = 0; i < nitems; i++)
|
||||
fprintf(stderr, "%02x ", (unsigned char)b[i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue