added initial debug statements

This commit is contained in:
Fufu Fang 2021-08-31 21:30:24 +01:00
parent 8d2f7558a1
commit 08c1eeba49
2 changed files with 2 additions and 1 deletions

View File

@ -861,5 +861,6 @@ range requests\n");
curl_easy_cleanup(curl);
FREE(buf.data);
lprintf(debug, "recv: %lu bytes\n", recv);
return recv;
}

View File

@ -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;
}