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:
parent
de5b7fe74a
commit
e267ad3fc2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user