fix net_listen caching

This commit is contained in:
Doug MacEachern 2007-04-06 15:20:09 +00:00
parent 84f5dd1ca5
commit c6cad78da2
1 changed files with 1 additions and 1 deletions

View File

@ -865,7 +865,7 @@ sigar_net_listen_address_get(sigar_t *sigar,
sigar_net_address_t *address)
{
if (!sigar->net_listen ||
sigar_cache_find(sigar->net_listen, port))
!sigar_cache_find(sigar->net_listen, port))
{
sigar_net_stat_t netstat;
int status =