[Pkg-wmaker-commits] [wmbiff] 81/84: minor change to timeout behavior, just delay a while before next check

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:02:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_4_10
in repository wmbiff.

commit 80bee4d8672f5cce3d56d8622099c77d2dcd0dd7
Author: bluehal <bluehal>
Date:   Mon Dec 9 21:45:11 2002 +0000

    minor change to timeout behavior, just delay a while before next check
---
 wmbiff/Imap4Client.c | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/wmbiff/Imap4Client.c b/wmbiff/Imap4Client.c
index 4f11a08..362f2d3 100644
--- a/wmbiff/Imap4Client.c
+++ b/wmbiff/Imap4Client.c
@@ -169,15 +169,15 @@ FILE *imap_open(Pop3 pc)
 		IMAP_DM(pc, DEBUG_ERROR, "Couldn't connect to %s:%d: %s\n",
 				PCU.serverName, PCU.serverPort, strerror(errno));
 		if (errno == ETIMEDOUT) {
-          /* temporarily bump the interval, in a crude way:
-           fast forward time so that the mailbox isn't
-           checked for a while. */
-           pc->prevtime = time(0) + 60 * 5; /* now + 60 seconds * 5 minutes */
-          /* TCP's retry (how much time has elapsed while
-             the connect times out) is around 3 minutes;
-             here we just try to allow checking local
-             mailboxes more often while remote things are
-             unavailable or disconnected.  */
+			/* temporarily bump the interval, in a crude way:
+			   fast forward time so that the mailbox isn't
+			   checked for a while. */
+			pc->prevtime = time(0) + 60 * 5;	/* now + 60 seconds * 5 minutes */
+			/* TCP's retry (how much time has elapsed while
+			   the connect times out) is around 3 minutes;
+			   here we just try to allow checking local
+			   mailboxes more often while remote things are
+			   unavailable or disconnected.  */
 		}
 		return NULL;
 	}
@@ -442,8 +442,7 @@ static int authenticate_plaintext( /*@notnull@ */ Pop3 pc,
 
 #ifdef HAVE_GCRYPT_H
 static int authenticate_md5(Pop3 pc,
-							struct connection_state *scs,
-							const char *capabilities)
+				 struct connection_state *scs, const char *capabilities)
 {
 	char buf[BUF_SIZE];
 	char buf2[BUF_SIZE];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list