aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 =