The dprint macro is replaced by a mutt_log function. This allows to remove the extra parenthesis in dprint calls. Also, every dprint calls used to pass the debugfile as parameter, so this has been factorized.
The renaming was done with the following perl command: perl -0777 -pi -e 's/dprint[ ]*\((.+?),[ \t\r\n]*\(debugfile,[ ]*(.*?)\)\);/mutt_log (\1, \2);/igs' *.c imap/*.c After that, some style issues spotted by: git diff --check or equivalently: grep -n -R "mutt_log.*[[:space:]]\+$" were fixed. --- This patch is too big for the list, it is available at the following URL: https://github.com/d-k-c/mutt/commit/10eb3348b2c094c43d019c8084c5eae21a3fe6c8.patch
