--- libaitrpc/src/cli.c 2012/05/14 15:35:58 1.9.2.2 +++ libaitrpc/src/cli.c 2012/05/15 16:06:13 1.9.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.9.2.2 2012/05/14 15:35:58 misho Exp $ +* $Id: cli.c,v 1.9.2.3 2012/05/15 16:06:13 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -83,6 +83,9 @@ rpc_cli_openBLOBClient(rpc_cli_t * __restrict rpccli, case AF_LOCAL: strlcat(sa.sun.sun_path, ".blob", sizeof sa.sun.sun_path); break; + default: + rpc_SetErr(EINVAL, "Invalid socket type %d", sa.sa.sa_family); + return NULL; } memcpy(&cli->cli_sa, &sa, sizeof sa);