masqmail

diff src/alias.c @ 309:273f6c9eb6a2

bug fix: off-by-one in pipe aliases
author meillo@marmaro.de
date Sun, 24 Apr 2011 19:02:09 +0200
parents 7082044c05c6
children 41958685480d
line diff
     1.1 --- a/src/alias.c	Sun Apr 24 19:01:22 2011 +0200
     1.2 +++ b/src/alias.c	Sun Apr 24 19:02:09 2011 +0200
     1.3 @@ -155,7 +155,7 @@
     1.4  	
     1.5  		if (val[0] == '|') {
     1.6  			DEBUG(5) debugf("alias: '%s' is a pipe address\n", val);
     1.7 -			alias_addr = create_address_pipe(val+1);
     1.8 +			alias_addr = create_address_pipe(val);
     1.9  			g_free(val);
    1.10  			DEBUG(6) debugf("alias:     pipe generated: %s\n",
    1.11  			                alias_addr->local_part);