diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-05 21:14:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 21:14:29 +0100 |
commit | 9a96a2a06e2daacdcd90469c33e8f5f6dafa6958 (patch) | |
tree | 4069a4c5cee9ec31f9d2f5e888b2c31479921e73 /drivers/unix/stream_peer_tcp_posix.cpp | |
parent | 1587f45c2551a43db2808f2c5938095e19f060d2 (diff) | |
parent | fd1b94e307fadcb5a28d067e2bfac90fb8d55328 (diff) |
Merge pull request #14000 from mhilbrunner/issue-13950
Improve slang, especially in user-visible parts. Closes #13950.
Diffstat (limited to 'drivers/unix/stream_peer_tcp_posix.cpp')
-rw-r--r-- | drivers/unix/stream_peer_tcp_posix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/stream_peer_tcp_posix.cpp b/drivers/unix/stream_peer_tcp_posix.cpp index 3bc2397e6f..e88a7d7de1 100644 --- a/drivers/unix/stream_peer_tcp_posix.cpp +++ b/drivers/unix/stream_peer_tcp_posix.cpp @@ -213,7 +213,7 @@ Error StreamPeerTCPPosix::write(const uint8_t *p_data, int p_bytes, int &r_sent, if (errno != EAGAIN) { - perror("shit?"); + perror("Nothing sent"); disconnect_from_host(); ERR_PRINT("Server disconnected!\n"); return FAILED; @@ -270,7 +270,7 @@ Error StreamPeerTCPPosix::read(uint8_t *p_buffer, int p_bytes, int &r_received, if (errno != EAGAIN) { - perror("shit?"); + perror("Nothing read"); disconnect_from_host(); ERR_PRINT("Server disconnected!\n"); return FAILED; |