masqmail

diff src/alias.c @ 114:a80ebfa16cd5

better debugging output (thanks to Paolo)
author meillo@marmaro.de
date Wed, 30 Jun 2010 15:00:59 +0200
parents a8f3424347dc
children 3f33a0feeeb0
line diff
     1.1 --- a/src/alias.c	Wed Jun 30 13:23:49 2010 +0200
     1.2 +++ b/src/alias.c	Wed Jun 30 15:00:59 2010 +0200
     1.3 @@ -32,6 +32,8 @@
     1.4  		if (fnmatch(dom_node->data, addr->domain, FNM_CASEFOLD) == 0) {
     1.5  			foreach(conf.not_local_addresses, addr_node) {
     1.6  				a = create_address_qualified(addr_node->data, TRUE, conf.host_name);
     1.7 +				DEBUG(6) debugf("not_local_addresses: addr_node->data=%s a->address=%s\n",
     1.8 +				                addr_node->data, a->address);
     1.9  				if (addr_isequal(a, addr)) {
    1.10  					destroy_address(a);
    1.11  					return FALSE;
    1.12 @@ -43,6 +45,8 @@
    1.13  	}
    1.14  	foreach(conf.local_addresses, addr_node) {
    1.15  		a = create_address_qualified(addr_node->data, TRUE, conf.host_name);
    1.16 +		DEBUG(6) debugf("local_addresses: addr_node->data=%s a->address=%s\n",
    1.17 +		                addr_node->data, a->address);
    1.18  		if (addr_isequal(a, addr)) {
    1.19  			destroy_address(a);
    1.20  			return TRUE;