You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2014/01/02 23:04:37 UTC
git commit: updated refs/heads/4.2 to 3412636
Updated Branches:
refs/heads/4.2 358a7d06f -> 34126362f
Fix tab issues in the Link.java
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/34126362
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/34126362
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/34126362
Branch: refs/heads/4.2
Commit: 34126362f1c3148cc7d39ceb01973b45d2f4acf7
Parents: 358a7d0
Author: Sheng Yang <sh...@citrix.com>
Authored: Thu Jan 2 14:03:38 2014 -0800
Committer: Sheng Yang <sh...@citrix.com>
Committed: Thu Jan 2 14:04:30 2014 -0800
----------------------------------------------------------------------
utils/src/com/cloud/utils/nio/Link.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/34126362/utils/src/com/cloud/utils/nio/Link.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/nio/Link.java b/utils/src/com/cloud/utils/nio/Link.java
index dbe31b3..374b380 100755
--- a/utils/src/com/cloud/utils/nio/Link.java
+++ b/utils/src/com/cloud/utils/nio/Link.java
@@ -496,11 +496,11 @@ public class Link {
in_pkgBuf.clear();
count = 0;
try {
- count = readCh.read(in_pkgBuf);
+ count = readCh.read(in_pkgBuf);
} catch (SocketTimeoutException ex) {
- if (s_logger.isTraceEnabled()) {
+ if (s_logger.isTraceEnabled()) {
s_logger.trace("Handshake reading time out! Cut the connection");
- }
+ }
count = -1;
}
if (count == -1) {