accel-ppp icon indicating copy to clipboard operation
accel-ppp copied to clipboard

Fix post_msg implementation bug

Open grandnew opened this issue 3 years ago • 0 comments

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.

grandnew avatar Jan 07 '22 03:01 grandnew