added initial debug statements
This commit is contained in:
parent
8d2f7558a1
commit
08c1eeba49
|
@ -861,5 +861,6 @@ range requests\n");
|
|||
curl_easy_cleanup(curl);
|
||||
FREE(buf.data);
|
||||
|
||||
lprintf(debug, "recv: %lu bytes\n", recv);
|
||||
return recv;
|
||||
}
|
||||
|
|
|
@ -370,7 +370,7 @@ write_memory_callback(void *contents, size_t size, size_t nmemb,
|
|||
memmove(&mem->data[mem->size], contents, realsize);
|
||||
mem->size += realsize;
|
||||
mem->data[mem->size] = 0;
|
||||
|
||||
lprintf(debug, "realsize %d bytes\n", realsize);
|
||||
return realsize;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue