Mercurial > dovecot > core-2.2
changeset 19991:64c72629595f
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 ':'.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 05 Apr 2016 20:10:53 +0300 |
parents | c4504c853f8e |
children | 8bb067f6d2d3 |
files | src/lib-storage/mail-storage-service.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);