summaryrefslogtreecommitdiff
path: root/cache/src/tango_cache_transfer.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2021-07-23 15:55:42 +0800
committerfengweihao <[email protected]>2021-07-23 15:55:42 +0800
commit9745251b2aff9fac176e0443acd95a9bf33d592c (patch)
treef4ee06c4a9d364099761af7a0aea90bbd94bb3ad /cache/src/tango_cache_transfer.cpp
parentd18b647ec5203e8f7497a6b96523be7f832d6f8b (diff)
TSG-7141 修复非格式日志部分下载失败问题v4.5.4-202107
修复重定向指定用户自定义域无法替换问题
Diffstat (limited to 'cache/src/tango_cache_transfer.cpp')
-rw-r--r--cache/src/tango_cache_transfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/src/tango_cache_transfer.cpp b/cache/src/tango_cache_transfer.cpp
index 1b42ce7..e8b4cfc 100644
--- a/cache/src/tango_cache_transfer.cpp
+++ b/cache/src/tango_cache_transfer.cpp
@@ -114,7 +114,7 @@ static size_t curl_put_multipart_send_cb(void *ptr, size_t size, size_t count, v
static int http_put_bodypart_request_evbuf(struct tango_cache_ctx *ctx, bool full)
{
UNUSED CURLMcode rc;
- char minio_url[256], buffer[256];
+ char minio_url[256]={0}, buffer[256]={0};
if(NULL == (ctx->curl=curl_easy_init()))
{