You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2014/01/03 11:18:11 UTC
[38/50] [abbrv] git commit: updated refs/heads/opendaylight to 858fb69
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/92ba5f61
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/92ba5f61
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/92ba5f61
Branch: refs/heads/opendaylight
Commit: 92ba5f618d7f578c9b4ffbd08e00857c59cdc0c7
Parents: 4312f92
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:03:38 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/92ba5f61/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 9a3c619..613480e 100755
--- a/utils/src/com/cloud/utils/nio/Link.java
+++ b/utils/src/com/cloud/utils/nio/Link.java
@@ -488,11 +488,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) {