mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05: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
@ -47,7 +47,8 @@ print_cookies(CURL *curl)
|
|||||||
curl_easy_strerror(res));
|
curl_easy_strerror(res));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
nc = cookies, i = 1;
|
nc = cookies;
|
||||||
|
i = 1;
|
||||||
while(nc) {
|
while(nc) {
|
||||||
printf("[%d]: %s\n", i, nc->data);
|
printf("[%d]: %s\n", i, nc->data);
|
||||||
nc = nc->next;
|
nc = nc->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user