aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/cookie_interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/cookie_interface.c b/docs/examples/cookie_interface.c
index 53840a2de..2af0619b5 100644
--- a/docs/examples/cookie_interface.c
+++ b/docs/examples/cookie_interface.c
@@ -47,7 +47,8 @@ print_cookies(CURL *curl)
curl_easy_strerror(res));
exit(1);
}
- nc = cookies, i = 1;
+ nc = cookies;
+ i = 1;
while(nc) {
printf("[%d]: %s\n", i, nc->data);
nc = nc->next;