From: Aki Tuomi Date: Wed, 25 Jan 2023 09:14:12 +0000 (+0200) Subject: pop3: Use i_stream_get_absolute_offset() in stats X-Git-Tag: 2.4.0~2928 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18c5bb8850fcecabe9cd1caca5a0505355304c2;p=thirdparty%2Fdovecot%2Fcore.git pop3: Use i_stream_get_absolute_offset() in stats Consistent with other protocols --- diff --git a/src/pop3/pop3-client.c b/src/pop3/pop3-client.c index c7787b1ca8..428d8b8109 100644 --- a/src/pop3/pop3-client.c +++ b/src/pop3/pop3-client.c @@ -539,7 +539,8 @@ static const char *client_stats(struct client *client) dec2str(client->deleted_count), "deleted_count" }, { 'm', dec2str(client->messages_count), "message_count" }, { 's', dec2str(client->total_size), "message_bytes" }, - { 'i', dec2str(client->input->v_offset), "input" }, + { 'i', dec2str(i_stream_get_absolute_offset(client->input)), + "input" }, { 'o', dec2str(client->output->offset), "output" }, { 'u', uidl_change, "uidl_change" }, { '\0', !client->delete_success ? "0" :