aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-28 14:35:34 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-28 14:35:34 +0000
commitda1f45287303098b4ab55510d5b00a201884e50f (patch)
treee0bc0eb87a85c02a6a38c0b4c18d63865ddb661f
parentc7c9d4903ec4f8036252b00d118933f9fc3dec30 (diff)
downloadfetchmail-da1f45287303098b4ab55510d5b00a201884e50f.tar.gz
fetchmail-da1f45287303098b4ab55510d5b00a201884e50f.tar.bz2
fetchmail-da1f45287303098b4ab55510d5b00a201884e50f.zip
Prevent UID lossage because of the DNS lookups getting moved.
svn path=/trunk/; revision=3497
-rw-r--r--NEWS1
-rw-r--r--driver.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 800743ee..3fd98812 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
(The `lines' figures total .c, .h, .l, and .y files under version control.)
* Fix configuration error in handling of long options.
+* Thomas Moestl's patch to use querynames in UID files.
fetchmail-5.9.2 (Wed Sep 26 12:47:00 EDT 2001), 21118 lines:
diff --git a/driver.c b/driver.c
index 080db5b3..bd05eea9 100644
--- a/driver.c
+++ b/driver.c
@@ -32,10 +32,10 @@
#include <hesiod.h>
#endif
-#ifdef HAVE_RES_SEARCH
+#if defined(HAVE_RES_SEARCH) || defined(HAVE_GETHOSTBYNAME)
#include <netdb.h>
#include "mx.h"
-#endif /* HAVE_RES_SEARCH */
+#endif /* defined(HAVE_RES_SEARCH) || defined(HAVE_GETHOSTBYNAME) */
#include "kerberos.h"
#ifdef KERBEROS_V4