--- libaitrpc/src/builtin.c 2011/10/31 14:45:26 1.4.2.1 +++ libaitrpc/src/builtin.c 2011/11/03 12:52:36 1.4.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: builtin.c,v 1.4.2.1 2011/10/31 14:45:26 misho Exp $ +* $Id: builtin.c,v 1.4.2.2 2011/11/03 12:52:36 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -132,7 +132,8 @@ rpcServerCalls(rpc_func_t *call, int ic, array_t *iv) if (*f->func_name) { memset(str, 0, sizeof str); snprintf(str, sizeof str, "/%s/%s(%d); ", - f->func_file, f->func_name, io_arraySize(f->func_vars)); + *f->func_file ? f->func_file : "*", + f->func_name, io_arraySize(f->func_vars)); strlcat(val, str, len); } }