accel-ppp
accel-ppp copied to clipboard
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
This pr fixes #158.