Open grandnew opened 2 years ago
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
post_msg
EPIPE
PPTP_write
This pr fixes #158.
I think the error handling code of
post_msg
is wrongly implemented due to coding typo. TheEPIPE
should be also considered and then return -1, just likePPTP_write
: https://github.com/xebd/accel-ppp/blob/1b8711cf75a7c278d99840112bc7a396398e0205/accel-pppd/ctrl/pptp/pptp.c#L539-L570This pr fixes #158.