From 075e1ddd7d983feb6e3b6ef73e58d5d39749b61c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 9 Apr 2017 04:36:47 +0200 Subject: upas/fs: remove imap lastread debounding its unclear why this was here, waketime logic should handle this already. --- sys/src/cmd/upas/fs/imap.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/src') diff --git a/sys/src/cmd/upas/fs/imap.c b/sys/src/cmd/upas/fs/imap.c index 460994949..5deffab6f 100644 --- a/sys/src/cmd/upas/fs/imap.c +++ b/sys/src/cmd/upas/fs/imap.c @@ -39,8 +39,6 @@ typedef struct { typedef struct Imap Imap; struct Imap { - ulong lastread; - char *mbox; /* free this to free the strings below */ char *freep; @@ -913,9 +911,6 @@ imap4read(Imap *imap, Mailbox *mb, int doplumb, int *new) Message *m, **ll; *new = 0; - if((ulong)time(0) - imap->lastread < 10) - return nil; - imap->lastread = time(0); imap4cmd(imap, "status %Z (messages uidvalidity)", imap->mbox); if(!isokay(s = imap4resp(imap))) return s; -- cgit v1.2.3