aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-28 03:10:40 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-28 03:10:40 +0000
commit93ed35b7ce8383d96a622a82df9d49a5b37b3a0b (patch)
treed48196d5a2c50ed0064446dfb93eedf4624ea868
parent5e34a93bd55e96d327379a98e4011b2db0e8303a (diff)
downloadfetchmail-93ed35b7ce8383d96a622a82df9d49a5b37b3a0b.tar.gz
fetchmail-93ed35b7ce8383d96a622a82df9d49a5b37b3a0b.tar.bz2
fetchmail-93ed35b7ce8383d96a622a82df9d49a5b37b3a0b.zip
Fix POP2 compilation.
svn path=/trunk/; revision=1426
-rw-r--r--NEWS5
-rw-r--r--driver.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b7c745e4..b17bb37a 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,11 @@
Release Notes:
------------------------------------------------------------------------------
+fetchmail-4.2.8 ()
+* Fixed a bug in POP2 compilation introduced sometime after 4.0.8.
+
+There are 284 people on the fetchmail-friends list.
+
fetchmail-4.2.7 (Fri Sep 26 11:21:15 EDT 1997)
* Full OTP support with Craig Metz's libopie 2.32 or higher.
* Major upgrade of FAQ with a procedure for diagnosing mangled-mail problems.
diff --git a/driver.c b/driver.c
index 6bac1565..355e392e 100644
--- a/driver.c
+++ b/driver.c
@@ -597,7 +597,7 @@ int num; /* index of message */
* forward it to the user so he or she will have some clue
* that things have gone awry.
*/
- if (protocol != pop2)
+ if (protocol->port != 109)
#endif /* POP2_ENABLE */
if (num == 1 && !strncasecmp(line, "X-IMAP:", 7))
return(PS_RETAINED);