--- libaitrpc/src/cli.c 2013/08/23 13:34:52 1.17.2.2 +++ libaitrpc/src/cli.c 2013/08/23 13:38:05 1.17.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.17.2.2 2013/08/23 13:34:52 misho Exp $ +* $Id: cli.c,v 1.17.2.3 2013/08/23 13:38:05 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -324,9 +324,11 @@ rpc_pkt_Receive(int sock, int type, sockaddr_t * __res AIT_RE_BUF(pkt, estlen); buf = AIT_GET_BUF(pkt); blen = estlen; + rpc = (struct tagRPCCall*) buf; continue; } + /* compiler optimize loop if while(0) and stop working 'continue' */ break; } while (42);