| 1705 /* We need more to be able to read this message */ |
1705 /* We need more to be able to read this message */ |
| 1706 if (connect_data->read_len < 2) |
1706 if (connect_data->read_len < 2) |
| 1707 return; |
1707 return; |
| 1708 |
1708 |
| 1709 msg_ret = s5_parse_chap_msg(connect_data); |
1709 msg_ret = s5_parse_chap_msg(connect_data); |
| 1710 |
1710 |
| 1711 if (msg_ret < 0) |
1711 if (msg_ret < 0) |
| 1712 return; |
1712 return; |
| 1713 |
1713 |
| 1714 /* See if we have another message already in the buffer */ |
1714 /* See if we have another message already in the buffer */ |
| 1715 if ((len = connect_data->read_len - msg_ret) > 0) { |
1715 if ((len = connect_data->read_len - msg_ret) > 0) { |