#include "portab.h"
-static char UNUSED id[] = "$Id: resolve.c,v 1.25 2006/08/12 11:54:23 fw Exp $";
+static char UNUSED id[] = "$Id: resolve.c,v 1.27 2007/11/25 18:42:37 fw Exp $";
#include "imp.h"
#include <assert.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
#include <netdb.h>
#ifdef IDENTAUTH
#include "conn.h"
#include "defines.h"
#include "log.h"
+#include "tool.h"
#include "exp.h"
#include "resolve.h"
return true;
Log( LOG_CRIT, "Resolver: Could not register callback function: %s!", strerror(errno));
- Resolve_Shutdown(s);
+ close(s->resolver_fd);
+ Resolve_Init(s);
return false;
}
return ret;
}
-
+
/**
* Read result of resolver sub-process from pipe
*/