]> Pileus Git - ~andy/fetchmail/commitdiff
Remove dead waiting code.
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 22 Jun 2011 18:08:32 +0000 (20:08 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Wed, 22 Jun 2011 18:12:37 +0000 (20:12 +0200)
pop3.c

diff --git a/pop3.c b/pop3.c
index a994f992d1641151f874a9c0bc24f485e2bc15f0..aee0ec69ed2e15f3fe713bcd02725059b591be49 100644 (file)
--- a/pop3.c
+++ b/pop3.c
@@ -672,22 +672,6 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
        return(ok);
     }
 
-/* Disable the sleep. Based on patch by Brian Candler 2004-04-19/2004-11-08,
- * accepted by Matthias Andree.
- *
- * Rationale: the server must have locked the spool before returning +OK;
- * this sleep just wastes time and hence, for modem and GSM CSD users, money. */
-#ifdef WANT_BOGUS
-    /*
-     * Empirical experience shows some server/OS combinations
-     * may need a brief pause even after any lockfiles on the
-     * server are released, to give the server time to finish
-     * copying back very large mailfolders from the temp-file...
-     * this is only ever an issue with extremely large mailboxes.
-     */
-    sleep(3); /* to be _really_ safe, probably need sleep(5)! */
-#endif
-
     /* we're approved */
     return(PS_SUCCESS);
 }