masqmail

view tests/makefile @ 323:29de6a1c4538

Fixed an important bug with folded headers! g_strconcat() returns a *copy* of the string, but hdr->value still pointed to the old header (which probably was a memory leak, too). If the folded part had been quite small it was likely that the new string was at the same position as the old one, thus making everything go well. But if pretty long headers were folded several times it was likely that the new string was allocated somewhere else in memory, thus breaking things. In result mails to lots of recipients (folded header) were frequently only sent to the ones in the first line. Sorry for the inconvenience.
author meillo@marmaro.de
date Fri, 03 Jun 2011 09:47:27 +0200
parents 3cb6f383f07e
children
line source
2 all:
3 cd hostname-stdin && make
4 cd localhost-stdin && make
5 cd relay-to-localhost-mta && make
6 cd relay-to-hostname-mta && make
8 run: all
9 cd hostname-stdin && ./test
10 cd localhost-stdin && ./test
11 cd relay-to-localhost-mta && ./test
12 cd relay-to-hostname-mta && ./test
14 clean:
15 cd hostname-stdin && make clean
16 cd localhost-stdin && make clean
17 cd relay-to-localhost-mta && make clean
18 cd relay-to-hostname-mta && make clean
20 realclean:
21 cd hostname-stdin && make realclean
22 cd localhost-stdin && make realclean
23 cd relay-to-localhost-mta && make realclean
24 cd relay-to-hostname-mta && make realclean