From: Timo Sirainen Date: Sun, 19 Jun 2016 15:38:39 +0000 (+0300) Subject: doveadm dump: Updated obox's oid output. X-Git-Tag: 2.2.25.rc1~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97559e0a29df6db753f359d135fe2f53b1574e89;p=thirdparty%2Fdovecot%2Fcore.git doveadm dump: Updated obox's oid output. --- diff --git a/src/doveadm/doveadm-dump-index.c b/src/doveadm/doveadm-dump-index.c index 21509cefba..3e048444c4 100644 --- a/src/doveadm/doveadm-dump-index.c +++ b/src/doveadm/doveadm-dump-index.c @@ -621,7 +621,7 @@ static void dump_record(struct mail_index_view *view, unsigned int seq) } else if (strcmp(ext[i].name, "obox") == 0) { const struct obox_mail_index_record *orec = data; printf(" : guid = %s\n", guid_128_to_string(orec->guid)); - printf(" : oid = %s\n", guid_128_to_string(orec->oid)); + printf(" : oid = %s\n", binary_to_hex(orec->oid, ext[i].record_size - sizeof(orec->guid))); } else if (strcmp(ext[i].name, "mobox") == 0) { const struct mobox_mail_index_record *orec = data; printf(" : map_uid = %u\n", orec->map_uid);