Use byte_size/1 instead of length/1 on binary #22

Merged
merged 1 commit into from Feb 28, 2013

Projects

None yet

2 participants

@keynslug

By all means it seems that hackney_util:join/2 return binary value so
length/1 is not applicable, byte_size/1 is.

@keynslug keynslug Use byte_size/1 instead of length/1 on binary
By all means it seems that hackney_util:join return binary value so
length/1 is not applicable, byte_size/1 is.
61c7238
@benoitc benoitc merged commit 88a7d65 into benoitc:master Feb 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment