diff options
author | grandnew <40992447+grandnew@users.noreply.github.com> | 2024-11-15 10:28:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 10:28:35 +0800 |
commit | b6500a8df22c94fcf8d5dc583d85be6ddc5d51ec (patch) | |
tree | e3bcd8ddaa1544dc45d9bc790213a939bc121157 /tests | |
parent | 28698ec7428b5914ab552c598d602298f9a401b4 (diff) | |
download | accel-ppp-b6500a8df22c94fcf8d5dc583d85be6ddc5d51ec.tar.gz accel-ppp-b6500a8df22c94fcf8d5dc583d85be6ddc5d51ec.zip |
Fix post_msg implementation bug
I think the error handling code of `post_msg` is wrongly implemented due to coding typo. The `EPIPE` should be also considered and then return -1, just like `PPTP_write`:
https://github.com/xebd/accel-ppp/blob/1b8711cf75a7c278d99840112bc7a396398e0205/accel-pppd/ctrl/pptp/pptp.c#L539-L570
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions