--- libaitio/src/Attic/tools.c 2012/05/15 23:09:24 1.12.2.1 +++ libaitio/src/Attic/tools.c 2012/05/19 00:19:56 1.13.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: tools.c,v 1.12.2.1 2012/05/15 23:09:24 misho Exp $ +* $Id: tools.c,v 1.13.2.1 2012/05/19 00:19:56 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -442,6 +442,7 @@ io_n2addr(io_sockaddr_t * __restrict addr, ait_val_t * if (!addr || !val) return ret; + AIT_INIT_VAL(val); switch (addr->sa.sa_family) { case AF_INET: if (!inet_ntop(AF_INET, &addr->sin.sin_addr, str, INET_ADDRSTRLEN)) {