upas/smtp: recognize \n (not just \r\n) as end-of-line. perhaps a mistake. [rsc] --rw-rw-r-- M 467740 glenda sys 20134 Mar 12 13:13 sys/src/cmd/upas/smtp/smtp.c /n/sourcesdump/2006/0312/plan9/sys/src/cmd/upas/smtp/smtp.c:740,745 - /n/sourcesdump/2006/0313/plan9/sys/src/cmd/upas/smtp/smtp.c:740,747 reply = s_reset(reply); for(;;){ line = getcrnl(reply); + if(debug) + Bflush(&berr); if(line == 0) return -1; if(!isdigit(line[0]) || !isdigit(line[1]) || !isdigit(line[2])) /n/sourcesdump/2006/0312/plan9/sys/src/cmd/upas/smtp/smtp.c:985,990 - /n/sourcesdump/2006/0313/plan9/sys/src/cmd/upas/smtp/smtp.c:987,993 case '\r': c = Bgetc(&bin); if(c == '\n'){ + case '\n': s_putc(s, c); if(debug) Bputc(&berr, c);