diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-10 23:58:35 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-10 23:58:35 +0800 |
commit | 58da95015df2e31dcfd11e441af8110a7ef44fef (patch) | |
tree | 37ea7c01fbca0fc36e98d006d30400fb212c355d | |
parent | e1bceee2402c7e9cada74b5fa2fcf0fa92c88bf9 (diff) | |
download | pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.tar pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.tar.gz pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.tar.bz2 pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.tar.lz pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.tar.xz pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.tar.zst pttbbs-58da95015df2e31dcfd11e441af8110a7ef44fef.zip |
* revert previous disable of perror... it should not be the reason of crashes
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4549 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 2f4d8ae7..232d5bb1 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; } |