Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
mx_call_external: Change EPIPE to EPROTO
If an external helper does something unexpected like exiting with a non-zero exit status or sending more data than mxqd wants to handle, mx_call_external sets errno to an error code. Currenty we use EPIPE ("Broken pipe"). Change this to EPROTO ("Protocol error"), which seems to be better fitting. We assume that the external helper, which shares its stderr with mxqd, has already sent some diagnostic to the logfile.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters