Ignore:
Timestamp:
Feb 1, 2008, 1:03:47 AM (17 years ago)
Author:
katerina
Message:

Fix for ticket #89, #90, and #91 (locking,compile failure).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_portcheck.c

    r149 r162  
    129129#include "sh_utils.h"
    130130#include "sh_modules.h"
     131#include "sh_static.h"
    131132#include "sh_pthread.h"
    132133
     
    897898           
    898899  SH_MUTEX_LOCK(mutex_resolv);
    899   hent = gethostbyname(portchk_hostname);
     900  hent = sh_gethostbyname(portchk_hostname);
    900901
    901902  while (hent && hent->h_addr_list[i] && (iface_list.used < SH_IFACE_MAX))
Note: See TracChangeset for help on using the changeset viewer.