POP65: bug fix, just expect "+OK" after login - ignore rest of line

This commit is contained in:
Bobbi Webber-Manners 2020-08-24 15:59:55 -04:00
parent 04201d4f48
commit b4f16857a2
2 changed files with 1 additions and 3 deletions

View File

@ -4,8 +4,6 @@
// Bobbi July-Aug 2020
/////////////////////////////////////////////////////////////////////////////
// TODO: Bug - Insert a CR at eof. Cursor left then cursor right.
// Things are messed up now!
// TODO: File picker!!
// TODO: Search options - ignore case, complete word.

View File

@ -537,7 +537,7 @@ void main(int argc, char *argv[]) {
if (!w5100_tcp_send_recv(sendbuf, buf, NETBUFSZ, DO_SEND, CMD_MODE)) {
error_exit();
}
expect(buf, "+OK Logged in.");
expect(buf, "+OK");
if (!w5100_tcp_send_recv("STAT\r\n", buf, NETBUFSZ, DO_SEND, CMD_MODE)) {
error_exit();