changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/cmd/upas/fs/pop3.c

revision 7251: c67d805b0614
parent 7044: 5f04b19f5ad5
     1.1--- a/sys/src/cmd/upas/fs/pop3.c
     1.2+++ b/sys/src/cmd/upas/fs/pop3.c
     1.3@@ -89,14 +89,11 @@ pop3resp(Pop *pop)
     1.4 	char *s;
     1.5 	char *p;
     1.6 
     1.7-	alarm(60*1000);
     1.8 	if((s = Brdstr(&pop->bin, '\n', 0)) == nil){
     1.9 		close(pop->fd);
    1.10 		pop->fd = -1;
    1.11-		alarm(0);
    1.12 		return "unexpected eof";
    1.13 	}
    1.14-	alarm(0);
    1.15 
    1.16 	p = s + strlen(s) - 1;
    1.17 	while(p >= s && (*p == '\r' || *p == '\n'))