Skip to content

Commit

Permalink
Fixed setEncoding bug (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm committed Dec 22, 2014
1 parent ead0f5d commit 4f964de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foscam.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ app.talk = function( props ) {

// readable stream
if( props.encoding === 'binary' ) {
props.setEncoding('binary')
response.setEncoding('binary')
props.callback( response )
return
}
Expand Down

0 comments on commit 4f964de

Please sign in to comment.