Skip to content
Snippets Groups Projects
Commit 4d87afb2 authored by Christopher Haine's avatar Christopher Haine Committed by Utz-Uwe Haus
Browse files

better separator for dirs + small fix

parent 145f38e5
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ mstro_cdo_id__str(const struct mstro_cdo_id *cdoid, char **name)
"-%04" PRIx64
"-%04" PRIx64
"-%012" PRIx64
"+0x%" PRIx64 "",
".0x%" PRIx64 "",
(qw0 >>32) & 0xFFFFFFFFU,
(qw0 >>16) & 0xFFFFU,
qw0 & 0xFFFFU,
......
......@@ -307,7 +307,7 @@ mstro_pc__construct_gfs_path_for_cdo(const mstro_cdo src_cdo,
size_t l1 = g_mstro_transport_gfs_dir_len // name incl. trailing separator
+ 20 + 1 // 20 decimal digits for appid plus separator
+ 32 + 1 // 32 hex digits for UUID plus separator
+ MSTRO_CDO_ID_STR_LEN + 1 // 64 hex digits for UUID plus separator
;
size_t l2 = 20 + 1 // 20 decimal digits for local-index
+ 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment