From: Juan Cruz Viotti Date: Sat, 8 Jul 2023 02:16:18 +0000 (-0400) Subject: curl_easy_nextheader.3: add missing open parenthesis examples X-Git-Tag: curl-8_2_0~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e0bad3f18e6c6130861f8f4d0d2534fb580ab63;p=thirdparty%2Fcurl.git curl_easy_nextheader.3: add missing open parenthesis examples Closes #11409 Signed-off-by: Juan Cruz Viotti --- diff --git a/docs/libcurl/curl_easy_nextheader.3 b/docs/libcurl/curl_easy_nextheader.3 index ce8fa7e294..8f892f91b8 100644 --- a/docs/libcurl/curl_easy_nextheader.3 +++ b/docs/libcurl/curl_easy_nextheader.3 @@ -73,14 +73,14 @@ struct curl_header *h; /* extract the normal headers from the first request */ while((h = curl_easy_nextheader(easy, CURLH_HEADER, 0, prev))) { - print "%s: %s\\n", h->name, h->value); + printf("%s: %s\\n", h->name, h->value); prev = h; } /* extract the normal headers + 1xx + trailers from the last request */ unsigned int origin = CURLH_HEADER| CURLH_1XX | CURLH_TRAILER; while((h = curl_easy_nextheader(easy, origin, -1, prev))) { - print "%s: %s\\n", h->name, h->value); + printf("%s: %s\\n", h->name, h->value); prev = h; } .fi