mirror of
https://github.com/curl/curl.git
synced 2026-07-16 05:17:19 +03:00
cookie_interface: fix -Wcomma warning
clang 5.0 complains: possible misuse of comma operator here [-Wcomma]
This commit is contained in:
parent
b875250e32
commit
77b90997dd
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue