From 6aee16608f5ba493203330b98e145dd93b8ee05d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 4 Oct 1996 15:07:30 +0000 Subject: Avoid SPARC bug. svn path=/trunk/; revision=212 --- NEWS | 3 +++ pop3.c | 6 +----- 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 = -- cgit v1.2.3