diff options
| author | fengweihao <[email protected]> | 2021-03-30 16:56:44 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2021-03-30 16:56:44 +0800 |
| commit | 3e020b9e28e9126f2544557705c2006047053d36 (patch) | |
| tree | 862763fdb5c81f397d620b2a5337aa821d9ac307 /cache/src/tango_cache_xml.cpp | |
| parent | 2b649f4510fdad386057ffd1d8ce2ef27b4dab36 (diff) | |
hos存储非结构化文件命名修改v4.4.01-202104release-4.4
Diffstat (limited to 'cache/src/tango_cache_xml.cpp')
| -rw-r--r-- | cache/src/tango_cache_xml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/src/tango_cache_xml.cpp b/cache/src/tango_cache_xml.cpp index 0d21497..97280b6 100644 --- a/cache/src/tango_cache_xml.cpp +++ b/cache/src/tango_cache_xml.cpp @@ -153,7 +153,7 @@ void construct_multiple_delete_xml(const char *bucket, char *key[], u_int32_t nu { child = xmlNewChild(root, NULL, (const xmlChar*)"Object", NULL); caculate_sha256(key[i], strlen(key[i]), sha256, 72); - snprintf(hashkey, 256, "%c%c/%c%c/%s", sha256[0], sha256[1], sha256[2], sha256[3], sha256+4); + snprintf(hashkey, 256, "%c%c_%c%c_%s", sha256[0], sha256[1], sha256[2], sha256[3], sha256+4); xmlNewChild(child, NULL, (const xmlChar*)"Key", (const xmlChar*)hashkey); } } |
