Skip to content

Commit 2600518

Browse files
author
ThinkThinkSyn
committed
fix url bug
1 parent 0dac7c2 commit 2600518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4356,7 +4356,7 @@ int main(int argc, char ** argv) {
43564356
params.max_size = 1024 * 1024 * 10; // 10MB
43574357
params.timeout = 10; // seconds
43584358
SRV_INF("downloading image from '%s'\n", url.c_str());
4359-
auto res = common_remote_get_content(url, params);
4359+
auto res = common_remote_get_content(data, params);
43604360
if (200 <= res.first && res.first < 300) {
43614361
SRV_INF("downloaded %ld bytes\n", res.second.size());
43624362
raw_buffer buf;

0 commit comments

Comments
 (0)