Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/REPCommandPacker.java @ 271:5b7abc22e61a
enum
author | kono |
---|---|
date | Thu, 11 Sep 2008 17:23:27 +0900 |
parents | c513cf1ce9cc |
children | 6deb6de8d0eb |
line wrap: on
line diff
--- a/rep/REPCommandPacker.java Thu Sep 11 15:08:06 2008 +0900 +++ b/rep/REPCommandPacker.java Thu Sep 11 17:23:27 2008 +0900 @@ -43,7 +43,7 @@ } ByteBuffer buffer = ByteBuffer.allocateDirect(HEADER_SIZE+(command.string.length()*CHAR_ORDER)); buffer.clear(); // position = 0 - buffer.putInt(command.cmd); + buffer.putInt(command.cmd.id); buffer.putInt(command.sid); buffer.putInt(command.eid); buffer.putInt(command.seq);