fix compile warning

This commit is contained in:
Doug MacEachern 2006-07-06 00:32:45 +00:00
parent e6f646c709
commit 1bd1cbd9f4

View File

@ -1769,7 +1769,7 @@ static int net_connection_get(sigar_net_connection_walker_t *walker, int proto)
so = &cb->xt_socket; so = &cb->xt_socket;
} }
else { else {
struct xinpcb *cb = (struct xincb *)xig; struct xinpcb *cb = (struct xinpcb *)xig;
inp = &cb->xi_inp; inp = &cb->xi_inp;
so = &cb->xi_socket; so = &cb->xi_socket;
} }