--- libaitrpc/src/cli.c 2010/06/28 17:10:39 1.1.1.1.2.4 +++ libaitrpc/src/cli.c 2010/07/08 07:16:36 1.1.1.1.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.1.1.1.2.4 2010/06/28 17:10:39 misho Exp $ +* $Id: cli.c,v 1.1.1.1.2.5 2010/07/08 07:16:36 misho Exp $ * *************************************************************************/ #include "global.h" @@ -311,7 +311,8 @@ rpc_cli_execCall(rpc_cli_t *cli, const char *csModule, return -5; } if (rrpc->ret_retcode < 0 && rrpc->ret_errno) { - rpc_SetErr(rrpc->ret_errno, "Error::Server side: %s\n", strerror(rrpc->ret_errno)); + rpc_SetErr(rrpc->ret_errno, "Error::Server side: %d %s\n", + rrpc->ret_retcode, strerror(rrpc->ret_errno)); return -6; } // RPC is OK! Go decapsulate variables ...