|
|
| version 1.26.2.1, 2015/06/24 22:27:58 | version 1.26.2.3, 2015/06/24 22:44:24 |
|---|---|
| Line 1579 rpc_srv_initServer(u_char InstID, int concurentClients | Line 1579 rpc_srv_initServer(u_char InstID, int concurentClients |
| rpc_SetErr(EINVAL, "Invalid parameters can`t init RPC server"); | rpc_SetErr(EINVAL, "Invalid parameters can`t init RPC server"); |
| return NULL; | return NULL; |
| } | } |
| if (!Port && proto < SOCK_RAW) | |
| Port = RPC_DEFPORT; | |
| if (!e_gethostbyname(csHost, Port, &sa)) | if (!e_gethostbyname(csHost, Port, &sa)) |
| return NULL; | return NULL; |
| if (!Port) | |
| Port = RPC_DEFPORT; | |
| if (!proto) | if (!proto) |
| proto = SOCK_STREAM; | proto = SOCK_STREAM; |
| if (netBuf < RPC_MIN_BUFSIZ) | if (netBuf < RPC_MIN_BUFSIZ) |