diff options
| author | Kostadin Damyanov | 2015-06-10 21:18:39 +0300 |
|---|---|---|
| committer | Kostadin Damyanov | 2015-06-10 21:18:39 +0300 |
| commit | f99b72c04f484c39ae728bc175114544a26d7bca (patch) | |
| tree | 803f1c53e08a9fe442bdf6e6bd9c4745c724aa20 | |
| parent | 8130707e018757d9270d8b3d94241eaecc82b896 (diff) | |
| download | godot-f99b72c04f484c39ae728bc175114544a26d7bca.tar.gz godot-f99b72c04f484c39ae728bc175114544a26d7bca.tar.zst godot-f99b72c04f484c39ae728bc175114544a26d7bca.zip | |
| -rw-r--r-- | drivers/unix/stream_peer_tcp_posix.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/unix/stream_peer_tcp_posix.cpp b/drivers/unix/stream_peer_tcp_posix.cpp index 6e1964793..5aa391589 100644 --- a/drivers/unix/stream_peer_tcp_posix.cpp +++ b/drivers/unix/stream_peer_tcp_posix.cpp @@ -206,11 +206,7 @@ Error StreamPeerTCPPosix::write(const uint8_t* p_data,int p_bytes, int &r_sent, while (data_to_send) { -#ifdef __HAIKU__ - int sent_amount = send(sockfd, offset, data_to_send, 0); -#else int sent_amount = send(sockfd, offset, data_to_send, MSG_NOSIGNAL); -#endif //printf("Sent TCP data of %d bytes, errno %d\n", sent_amount, errno); if (sent_amount == -1) { |
