format nit
This commit is contained in:
parent
f6f395d68e
commit
66fe4fee09
|
@ -686,9 +686,10 @@ sigar_net_stat_port_get(sigar_t *sigar,
|
||||||
unsigned long port);
|
unsigned long port);
|
||||||
|
|
||||||
|
|
||||||
SIGAR_DECLARE(int)sigar_net_listen_address_get(sigar_t *sigar,
|
SIGAR_DECLARE(int)
|
||||||
unsigned long port,
|
sigar_net_listen_address_get(sigar_t *sigar,
|
||||||
sigar_net_address_t *address);
|
unsigned long port,
|
||||||
|
sigar_net_address_t *address);
|
||||||
|
|
||||||
SIGAR_DECLARE(const char *)sigar_net_connection_type_get(int type);
|
SIGAR_DECLARE(const char *)sigar_net_connection_type_get(int type);
|
||||||
|
|
||||||
|
|
|
@ -859,9 +859,10 @@ static void sigar_net_listen_address_add(sigar_t *sigar,
|
||||||
sizeof(conn->local_address));
|
sizeof(conn->local_address));
|
||||||
}
|
}
|
||||||
|
|
||||||
SIGAR_DECLARE(int)sigar_net_listen_address_get(sigar_t *sigar,
|
SIGAR_DECLARE(int)
|
||||||
unsigned long port,
|
sigar_net_listen_address_get(sigar_t *sigar,
|
||||||
sigar_net_address_t *address)
|
unsigned long port,
|
||||||
|
sigar_net_address_t *address)
|
||||||
{
|
{
|
||||||
if (!sigar->net_listen ||
|
if (!sigar->net_listen ||
|
||||||
sigar_cache_find(sigar->net_listen, port))
|
sigar_cache_find(sigar->net_listen, port))
|
||||||
|
|
Loading…
Reference in New Issue