Commit 59b5832c authored by Claes Sjofors's avatar Claes Sjofors

Merge branch 'master'

parents 5f92beb5 93cba254
...@@ -986,9 +986,9 @@ public class GdhWebSocketServer ...@@ -986,9 +986,9 @@ public class GdhWebSocketServer
i += 4; i += 4;
int elements = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8) + ((value[i+2] & 0xFF) << 16) + ((value[i+3] & 0xFF) << 24); int elements = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8) + ((value[i+2] & 0xFF) << 16) + ((value[i+3] & 0xFF) << 24);
i += 4; i += 4;
int nameSize = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8) + ((value[i+2] & 0xFF) << 16) + ((value[i+3] & 0xFF) << 24); int nameSize = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8);
i += 4; i += 2;
String attrName = new String( value, i, nameSize); String attrName = new String( value, i, nameSize);
attrName = checkAttrName( attrName); attrName = checkAttrName( attrName);
if ( attrName != null) { if ( attrName != null) {
Sub ret = this.refObjectInfo(attrName, threadNumber, refId, elements); Sub ret = this.refObjectInfo(attrName, threadNumber, refId, elements);
...@@ -1093,9 +1093,9 @@ public class GdhWebSocketServer ...@@ -1093,9 +1093,9 @@ public class GdhWebSocketServer
i += 4; i += 4;
int elements = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8) + ((value[i+2] & 0xFF) << 16) + ((value[i+3] & 0xFF) << 24); int elements = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8) + ((value[i+2] & 0xFF) << 16) + ((value[i+3] & 0xFF) << 24);
i += 4; i += 4;
int nameSize = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8) + ((value[i+2] & 0xFF) << 16) + ((value[i+3] & 0xFF) << 24); int nameSize = ((value[i] & 0xFF) << 0) + ((value[i+1] & 0xFF) << 8);
i += 4; i += 2;
String attrName = new String( value, i, nameSize); String attrName = new String( value, i, nameSize);
attrName = checkAttrName( attrName); attrName = checkAttrName( attrName);
if ( attrName != null) { if ( attrName != null) {
Sub ret = this.refObjectInfo(attrName, threadNumber, refId, elements); Sub ret = this.refObjectInfo(attrName, threadNumber, refId, elements);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment