const char *str = ptr;
const size_t cb = size * nmemb;
const char *end = (char*)ptr + cb;
+ struct Configurable *config = outs->config;
/*
* Once that libcurl has called back tool_header_cb() the returned value
size_t failure = (size * nmemb) ? 0 : 1;
#ifdef DEBUGBUILD
- if(sz * nmemb > (size_t)CURL_MAX_WRITE_SIZE) {
+ if(size * nmemb > (size_t)CURL_MAX_WRITE_SIZE) {
warnf(config, "Header data exceeds single call write limit!\n");
return failure;
}