--- libaitrpc/src/lists.c 2012/03/14 13:29:11 1.6.2.3 +++ libaitrpc/src/lists.c 2012/03/15 01:55:33 1.7 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: lists.c,v 1.6.2.3 2012/03/14 13:29:11 misho Exp $ +* $Id: lists.c,v 1.7 2012/03/15 01:55:33 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -362,7 +362,7 @@ rpc_calcHashes(rpc_func_t * __restrict func, const cha len += strlen(csModule); } /* align len to 2 */ - len = (len + 1) & ~1; + len = io_align(len, 1); /* prepare hash source string */ str = malloc(len);