Skip to content

Commit 103f87f

Browse files
committed
-fixed previous commit
1 parent 4536801 commit 103f87f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/net/tootallnate/websocket/drafts/Draft_10.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ else if( payloadlength == 126 ){
114114
}
115115
}
116116
int maskskeystart = foff + realpacketsize;
117-
int payloadstart = foff + realpacketsize += ( MASK ? 4 : 0 );
117+
realpacketsize += ( MASK ? 4 : 0 );
118+
int payloadstart = foff + realpacketsize;
118119
realpacketsize += payloadlength;
120+
119121
if( maxpacketsize < realpacketsize )
120122
throw new IncompleteException( realpacketsize );
121123

0 commit comments

Comments
 (0)