the new cookie functions that require 'data' passed in

This commit is contained in:
Daniel Stenberg
2003-08-11 09:56:06 +00:00
parent 2dd1518d63
commit 96e217b496
6 changed files with 17 additions and 10 deletions

View File

@@ -132,8 +132,8 @@ void curl_slist_free_all(struct curl_slist *list)
void Curl_infof(struct SessionHandle *data, const char *fmt, ...)
{
va_list ap;
if(data->set.verbose) {
if(data && data->set.verbose) {
va_list ap;
char print_buffer[1024 + 1];
va_start(ap, fmt);
vsnprintf(print_buffer, 1024, fmt, ap);