+ o Ensure digest listtext is always closed
+ o Fix Content-Transfer-Encoding: header for digests
o Fixed a bug that could cause a crash if $posteraddr$ appeared in the
maxmaiilsize listtext
o Documented listtexts
tmp = concatstr(3, "\n--", boundary,
"\nContent-Type: text/plain; charset=UTF-8"
- "\nContent-Encoding: 8bit"
+ "\nContent-Transfer-Encoding: 8bit"
"\n\n");
if (writen(fd, tmp, strlen(tmp)) == -1) {
log_error(LOG_ARGS, "Could not write digest text/plain"
} while ((line = mygetline(txtfd)));
}
+ close(txtfd);
+ } else if (txtfd > 0) {
close(txtfd);
}