]> granicus.if.org Git - neomutt/commit
fix: alias expansion in compose 1814/head
authorRichard Russon <rich@flatcap.org>
Thu, 22 Aug 2019 22:21:28 +0000 (23:21 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 26 Aug 2019 10:50:26 +0000 (11:50 +0100)
commitc6c728eb917ed7a62a1fc4fa8fd8f967a7144c0a
tree0adf55999686b71d4dc1702181cfe96b935a3582
parent4d7089128cac10b60416cff6cd40ef5e6c7c9316
fix: alias expansion in compose

This fixes two bugs when expanding aliases, of the form "alias1, alias1"
in compose.

- only the first alias was expanded
- alias address was leaked

Refactor for clarity:

- Rename local variable
- Reduce scope of variable
- Add comments
alias.c