diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-10 23:56:47 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-10 23:56:47 +0800 |
commit | e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9 (patch) | |
tree | 73020df624f62c1be60c6138268cf1d1cca110d7 | |
parent | dd9eca51e92987ecb9eb244b61c5c9bfcfb9f1c4 (diff) | |
download | pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.tar pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.tar.gz pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.tar.bz2 pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.tar.lz pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.tar.xz pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.tar.zst pttbbs-e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9.zip |
* no need to exit process when passing fd failed... (or not?)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4548 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | common/sys/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/sys/net.c b/common/sys/net.c index 232d5bb1..2f4d8ae7 100644 --- a/common/sys/net.c +++ b/common/sys/net.c @@ -250,7 +250,7 @@ int send_remote_fd(int tunnel, int fd) } while (rv == -1 && errno == EINTR); if (rv == -1) { - perror("sendmsg"); + // perror("sendmsg"); return rv; } @@ -288,7 +288,7 @@ int recv_remote_fd(int tunnel, const char *tunnel_path) } while (rv == -1 && errno == EINTR); if (rv == -1) { - perror("recvmsg"); + // perror("recvmsg"); return -1; } |