Newer
Older
Daniel Stenberg
committed
fprintf(out, "#\n# Fatal libcurl error\n");
Daniel Stenberg
committed
return 1;
}
fprintf(out, "%s\n", format_ptr);
free(format_ptr);
co=co->next;
}
}
if(!use_stdout)
fclose(out);
return 0;
}
Daniel Stenberg
committed
struct curl_slist *Curl_cookie_list(struct SessionHandle *data)
{
struct curl_slist *list = NULL;
struct curl_slist *beg;
struct Cookie *c;
char *line;
Daniel Stenberg
committed
(data->cookies->numcookies == 0))
return NULL;
Daniel Stenberg
committed
Daniel Stenberg
committed
/* fill the list with _all_ the cookies we know */
line = get_netscape_format(c);
return NULL;
}
list = curl_slist_append(list, line);
free(line);
curl_slist_free_all(beg);
return NULL;
}
Daniel Stenberg
committed
Daniel Stenberg
committed
}
#endif /* CURL_DISABLE_HTTP || CURL_DISABLE_COOKIES */