diff options
author | Andrew Comminos <andrewcomminos@gmail.com> | 2013-11-26 05:08:42 +0400 |
---|---|---|
committer | Andrew Comminos <andrewcomminos@gmail.com> | 2013-11-26 05:08:42 +0400 |
commit | 93679870e0d3eaa00aa97cd4491992ee495922e6 (patch) | |
tree | 6abffb02f121734995d6dc01ccad8cfe9ee78f85 /src/main/java | |
parent | 97634aea372f0e3f4df9fe716cf2e6f6a688649a (diff) |
Minor changes.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/morlunk/jumble/net/JumbleConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/morlunk/jumble/net/JumbleConnection.java b/src/main/java/com/morlunk/jumble/net/JumbleConnection.java index 2550762..e7b4286 100644 --- a/src/main/java/com/morlunk/jumble/net/JumbleConnection.java +++ b/src/main/java/com/morlunk/jumble/net/JumbleConnection.java @@ -214,7 +214,7 @@ public class JumbleConnection { public void messageUDPPing(byte[] data) { Log.v(Constants.TAG, "IN: UDP Ping"); byte[] timedata = new byte[8]; - System.arraycopy(data, 1, timedata, 0, 8); + System.arraycopy(data, 0, timedata, 0, 8); ByteBuffer buffer = ByteBuffer.allocate(8); buffer.put(timedata); buffer.flip(); |