# HG changeset patch # User Timo Sirainen # Date 1459876253 -10800 # Node ID 64c72629595f705ff15b7db6dd258b50fed0ea76 # Parent c4504c853f8efe5a98505955abaf43dfc086b955 lib-storage: Changed separator between session_id_prefix and unique part to be ':' Although '-' wasn't used by default either, it's much more likely that custom session IDs might contain it. ':' is hopefully less likely to be used. This allows log parsers that actually want to find out the original session's all log lines to cut out everything after the initial ':'. diff -r c4504c853f8e -r 64c72629595f src/lib-storage/mail-storage-service.c --- a/src/lib-storage/mail-storage-service.c Wed Apr 06 22:43:52 2016 +0300 +++ b/src/lib-storage/mail-storage-service.c Tue Apr 05 20:10:53 2016 +0300 @@ -1102,7 +1102,7 @@ string_t *str = str_new(pool, MAX_BASE64_ENCODED_SIZE(prefix_len + 1 + sizeof(guid))); if (prefix != NULL) - str_printfa(str, "%s-", prefix); + str_printfa(str, "%s:", prefix); guid_128_generate(guid); base64_encode(guid, sizeof(guid), str);