summaryrefslogtreecommitdiff
path: root/docs/examples/persistent.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/persistent.c')
-rw-r--r--docs/examples/persistent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/persistent.c b/docs/examples/persistent.c
index 51bd8c352..4be7d6f2a 100644
--- a/docs/examples/persistent.c
+++ b/docs/examples/persistent.c
@@ -44,7 +44,7 @@ int main(void)
/* get the first document */
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
- /* Perform the request, res will get the return code */
+ /* Perform the request, res gets the return code */
res = curl_easy_perform(curl);
/* Check for errors */
if(res != CURLE_OK)
@@ -55,7 +55,7 @@ int main(void)
connection */
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/docs/");
- /* Perform the request, res will get the return code */
+ /* Perform the request, res gets the return code */
res = curl_easy_perform(curl);
/* Check for errors */
if(res != CURLE_OK)