| 3874 | } |
| 3875 | |
| 3876 | static int process_decom(netinfo_type *net, host_node_type *host) |
| 3877 | { |
| 3878 | int node, rc; |
| 3879 | rc = read_stream(net, host, host->sb, &node, sizeof(int)); |
| 3880 | if (rc != sizeof(int)) { |
| 3881 | logmsg(LOGMSG_ERROR, |
| 3882 | "%s:err from read_stream attempting to read host, rc=%d", |
| 3883 | __func__, rc); |
| 3884 | return -1; |
| 3885 | } |
| 3886 | node = ntohl(node); |
| 3887 | return process_decom_int(net, hostname(node)); |
| 3888 | } |
| 3889 | |
| 3890 | static int process_decom_name(netinfo_type *netinfo_ptr, |
| 3891 | host_node_type *host_node_ptr) |
no test coverage detected