aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-04 15:07:30 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-04 15:07:30 +0000
commit6aee16608f5ba493203330b98e145dd93b8ee05d (patch)
tree868661e21e85202d22f07709109d095f047052b0
parent26a92acada1efac8f19aed1037c93201cefde10f (diff)
downloadfetchmail-6aee16608f5ba493203330b98e145dd93b8ee05d.tar.gz
fetchmail-6aee16608f5ba493203330b98e145dd93b8ee05d.tar.bz2
fetchmail-6aee16608f5ba493203330b98e145dd93b8ee05d.zip
Avoid SPARC bug.
svn path=/trunk/; revision=212
-rw-r--r--NEWS3
-rw-r--r--pop3.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 7df03925..e70b32c8 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,9 @@ fetchmail-1.6 ():
* Makefile fixes for correct linking on Sparcs and avoiding duplication of
the md5 files (leading to harmless instsll-time error messages).
+* Fix a bonehead coding error in pop3_delete() that was masked by the
+ Intel register architecture. *blush* Thanks to Jay Anderson.
+
fetchmail-1.5 (Thu Oct 3 04:35:15 EDT 1996):
* Naturally, my decision to announce 1.4 on comp.os.linux.announce
diff --git a/pop3.c b/pop3.c
index 3956c842..c2ce2d22 100644
--- a/pop3.c
+++ b/pop3.c
@@ -198,11 +198,7 @@ int socket;
struct hostrec *queryctl;
int number;
{
- int ok;
-
- /* send the deletion request */
- if ((ok = gen_transact(socket, "DELE %d", number)) != 0)
- return(ok);
+ return(gen_transact(socket, "DELE %d", number);
}
const static struct method pop3 =