Remove unused code The unsude code is: struct zone, macro strbase64, macro isatom, function unset_unseen(), function pref_encoding(), function cpydgst(), macro base64len
Replace free() with mh_free0() mh_free0() free's the memmory and set's the pointer to NULL after the free. This avoids doublefree and dereferenc of a non valid poiter.
Replace mh_xmalloc() with mh_xcalloc() calloc() is safer, because it initialize the memory to zero.
Coding style adjustments for nmh-imported code - No documentation in h/prototypes.h, but rather in the sbr/*.c files - Convert coding style from nmh to mmh: + indent with tabs only not with a tab-spaces-mixture + no space between function name and opening parenthesis + no space on the inner side of parens + no trailing space + different comment style - Variable definition at the beginning of the block only (ANSI C) - Choose meaningful identifier name rather than add a comment to a meaningless name
porte encode_rfc2047 from nmh Now a user can add any nonascii in header-fields. mhbuild now encode this acourding to rfc2047. Thanks Ken Hornstein <kenh@pobox.com>