Added popup status messages.

This commit is contained in:
pdw
2002-10-24 16:15:12 +00:00
parent e1c4cb7adf
commit 0be11c0e8a
5 changed files with 93 additions and 25 deletions

View File

@@ -44,6 +44,9 @@ int tail;
#if defined(USE_GETHOSTBYADDR_R)
/**
* Implementation of do_resolve for platforms with working gethostbyaddr_r
*
* Some implementations of libc choose to implement gethostbyaddr_r as
* a non thread-safe wrapper to gethostbyaddr. An interesting choice...
*/
char* do_resolve(struct in_addr * addr) {
struct hostent hostbuf, *hp;
@@ -102,7 +105,8 @@ char *do_resolve(struct in_addr *addr) {
#include <resolv.h>
/**
* libresolv implementation
* libresolv implementation
* resolver functions may not be thread safe
*/
char* do_resolve(struct in_addr * addr) {
char msg[PACKETSZ];