We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dac7c2 commit 2600518Copy full SHA for 2600518
tools/server/server.cpp
@@ -4356,7 +4356,7 @@ int main(int argc, char ** argv) {
4356
params.max_size = 1024 * 1024 * 10; // 10MB
4357
params.timeout = 10; // seconds
4358
SRV_INF("downloading image from '%s'\n", url.c_str());
4359
- auto res = common_remote_get_content(url, params);
+ auto res = common_remote_get_content(data, params);
4360
if (200 <= res.first && res.first < 300) {
4361
SRV_INF("downloaded %ld bytes\n", res.second.size());
4362
raw_buffer buf;
0 commit comments