pop3 deleted count

Dave dovecot-e51 at deemzed.uk
Fri Sep 16 10:39:48 UTC 2016


On pop3 logout, we're seeing log lines where the deleted count is blank 
(using default pop3_logout_format), so "del=%d/%m" is displaying in the 
logs as:

"del=/1186"

for example.

In src/pop3/pop3-client.c:552:

         tab[4].value = client->delete_success ?
                 dec2str(client->deleted_count) : 0;

Shouldn't this be:

         tab[4].value = client->delete_success ?
                 dec2str(client->deleted_count) : "0";

(very minor bug)

-- 
Dave


More information about the dovecot mailing list