home *** CD-ROM | disk | FTP | other *** search
- ***************
- *** 40,45 ****
- struct hostent *hp;
- char name[256]; /* a temp name buffer to avoid overlayyed */
-
- if (hp = gethostbyname (host))
- strncpy(name,hp->h_name, sizeof(name) - 1);
- else
- --- 44,52 ----
- struct hostent *hp;
- char name[256]; /* a temp name buffer to avoid overlayyed */
-
- + #if NLS
- + libc_nls_init();
- + #endif
- if (hp = gethostbyname (host))
- strncpy(name,hp->h_name, sizeof(name) - 1);
- else
-