Skip to content

Commit

Permalink
Fix a compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Jul 23, 2014
1 parent 00295b2 commit 2c1d858
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
int streamId = nextStreamId();
writeHeaders(ctx, promise, streamId, headers.build(), 0, !hasData, false);
if (hasData) {
writeData(ctx, ctx.newPromise(), streamId, httpMsg.content(), 0, true, true, false);
writeData(ctx, ctx.newPromise(), streamId, httpMsg.content(), 0, true, true);
}
} else {
ctx.write(msg, promise);
Expand Down

0 comments on commit 2c1d858

Please sign in to comment.