fix from Bakul Shah <bvs@BitBlocks.com> to make tip not dump core

when courier acu routines are used with a non-USR Courier modem.
This commit is contained in:
cgd 1993-05-11 06:58:03 +00:00
parent de5b7fe74a
commit e267ad3fc2

View File

@ -215,7 +215,7 @@ again:
if (strncmp(dialer_buf, "CONNECT",
sizeof("CONNECT")-1) != 0)
break;
for (bm = baud_msg ; bm ; bm++)
for (bm = baud_msg ; bm->msg ; bm++)
if (strcmp(bm->msg,
dialer_buf+sizeof("CONNECT")-1) == 0) {
if (ioctl(FD, TIOCGETP, &sb) < 0) {