Skip to content

Commit 8c7e310

Browse files
author
Stephane Landelle
committed
minor clean up
1 parent e817629 commit 8c7e310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/ResponseBodyPart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public byte[] getBodyPartBytes() {
6060
return bytes.get();
6161
}
6262

63-
byte[] b = ChannelBufferUtil.channelBuffer2bytes(getChannelBuffer());
63+
byte[] b = ChannelBufferUtil.channelBuffer2bytes(content);
6464
bytes.set(b);
6565
return b;
6666
}

0 commit comments

Comments
 (0)