Changeset 170 for trunk/src/sh_tools.c


Ignore:
Timestamp:
Apr 30, 2008, 11:56:45 PM (17 years ago)
Author:
katerina
Message:

Plenty of compiler warnings fixed, SQL query length fixed, doc update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_tools.c

    r169 r170  
    475475  char   * host_name;
    476476
    477   int    fd = (-1);
     477  volatile int    fd = (-1);
    478478  int    status;
    479   int    fail   = 0;
     479  volatile int    fail   = 0;
    480480  int    cached = 0;
    481481
     
    522522#endif
    523523        {
     524          SH_MUTEX_LOCK(mutex_resolv);
     525
    524526          host_name = NULL;
    525 
    526           SH_MUTEX_LOCK(mutex_resolv);
    527527
    528528          host_entry = sh_gethostbyname(address);
Note: See TracChangeset for help on using the changeset viewer.