<<< Date Index >>>     <<< Thread Index >>>

mutt: Improve const correctness



Hello,

Would you like to apply the advices from the article 
"http://en.wikipedia.org/wiki/Const_correctness"; to your sources?
I suggest to add the key word "const" to the type specifiers of parameters like 
the following examples. 
(Please do not limit this kind of correction to the type "char*".)

1. url (function "mutt_account_fromurl")
2. account (function "mutt_account_tourl")
3. src (function "url_parse_ciss")
4. ciss (function "url_ciss_tostring")
5. path (function "imap_mailbox_check")
6. msg (function "imap_append_message")
...

How do you think about this design aspect?

Regards,
Markus