Subversion Repositories sa-exim

Compare Revisions

Ignore whitespace Rev 31 → Rev 30

/trunk/debian/changelog
1,12 → 1,3
sa-exim (4.2.1-9) UNRELEASED; urgency=low
 
* Fix ugly bug caused by expanding $primary_hostname to the
non-permanent memory pool, where it will be overwritten when
receiveing multiple messages over the same connection (strangely
enough, nobody noticed).
 
--
 
sa-exim (4.2.1-8) unstable; urgency=medium
 
* Urgency medium to reach testing before exim4.
/trunk/sa-exim.c
605,11 → 605,8
/* This needs to be retrieved through expand_string in order
not to violate the API. */
static uschar *primary_hostname;
if (!primary_hostname) {
store_pool = POOL_PERM;
primary_hostname = expand_string("$primary_hostname");
store_pool = POOL_MAIN;
}
if (!primary_hostname)
primary_hostname = expand_string("$primary_hostname");
 
/* New values we read from spamassassin */
char *xspamstatus=NULL;