--- libaitrpc/src/builtin.c 2011/10/31 14:45:26 1.4.2.1 +++ libaitrpc/src/builtin.c 2012/03/13 08:25:25 1.5.2.1 @@ -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.5.2.1 2012/03/13 08:25:25 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -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); } }