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);
|
||||
|
||||
|
||||
SIGAR_DECLARE(int)sigar_net_listen_address_get(sigar_t *sigar,
|
||||
unsigned long port,
|
||||
sigar_net_address_t *address);
|
||||
SIGAR_DECLARE(int)
|
||||
sigar_net_listen_address_get(sigar_t *sigar,
|
||||
unsigned long port,
|
||||
sigar_net_address_t *address);
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
SIGAR_DECLARE(int)sigar_net_listen_address_get(sigar_t *sigar,
|
||||
unsigned long port,
|
||||
sigar_net_address_t *address)
|
||||
SIGAR_DECLARE(int)
|
||||
sigar_net_listen_address_get(sigar_t *sigar,
|
||||
unsigned long port,
|
||||
sigar_net_address_t *address)
|
||||
{
|
||||
if (!sigar->net_listen ||
|
||||
sigar_cache_find(sigar->net_listen, port))
|
||||
|
|
Loading…
Reference in New Issue