diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2003-02-28 11:02:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2003-02-28 11:02:53 +0000 |
commit | 9cb888960d9191a2442bd194e84f3e56ac809eed (patch) | |
tree | d4906366f8459fa3a51d6eebcf6ec3d80ea89774 /transact.c | |
parent | 7b08e9eb937dfe13d8d4b71d5226f288cdb4a67a (diff) | |
download | fetchmail-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 { |