Changeset 481 for trunk/src/sh_ipvx.c


Ignore:
Timestamp:
Jul 18, 2015, 5:06:52 PM (6 years ago)
Author:
katerina
Message:

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_ipvx.c

    r449 r481  
    165165                        name, name_size, NULL, 0, NI_NUMERICHOST);
    166166
    167 
    168   /* fprintf(stderr, "FIXME: Error %s (%d), name %s (%d)\n",
    169      gai_strerror(ret), ret, name, name_size); */
    170 
    171167  if (ret != 0 && name_size > 0)
    172168    {
     
    343339}
    344340
    345 static void * sh_dummy_out;
     341void * sh_dummy_341_out;
    346342
    347343char * sh_ipvx_canonical(const char * hostname, char * numeric, size_t nlen)
     
    361357  numeric[0] = '\0';
    362358
    363   sh_dummy_out = (void *) &out;
     359  sh_dummy_341_out = (void *) &out;
    364360 
    365361  if (sh_ipvx_is_numeric(hostname))
     
    426422  numeric[0] = '\0';
    427423
    428   sh_dummy_out = (void *) &out;
     424  sh_dummy_341_out = (void *) &out;
    429425
    430426  if (sh_ipvx_is_numeric(hostname))
Note: See TracChangeset for help on using the changeset viewer.