aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-02-28 11:02:53 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-02-28 11:02:53 +0000
commit9cb888960d9191a2442bd194e84f3e56ac809eed (patch)
treed4906366f8459fa3a51d6eebcf6ec3d80ea89774 /transact.c
parent7b08e9eb937dfe13d8d4b71d5226f288cdb4a67a (diff)
downloadfetchmail-9cb888960d9191a2442bd194e84f3e56ac809eed.tar.gz
fetchmail-9cb888960d9191a2442bd194e84f3e56ac809eed.tar.bz2
fetchmail-9cb888960d9191a2442bd194e84f3e56ac809eed.zip
IDLE implementation.
svn path=/trunk/; revision=3794
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/transact.c b/transact.c
index 6fbe1879..6674a3ff 100644
--- a/transact.c
+++ b/transact.c
@@ -1446,7 +1446,10 @@ int size; /* length of buffer */
{
set_timeout(0);
phase = oldphase;
- return(PS_SOCKET);
+ if(isidletimeout())
+ return(PS_IDLETIMEOUT);
+ else
+ return(PS_SOCKET);
}
else
{