Skip to content

Commit

Permalink
Merge pull request #7 from inolen/master
Browse files Browse the repository at this point in the history
Don't encode result as string
  • Loading branch information
fengmk2 committed Apr 23, 2013
2 parents 266d4dc + d5b54f3 commit cb5b84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.cc
Expand Up @@ -241,7 +241,7 @@ Handle<Object> Request::GetResult () const {

// Set data as Buffer
result->Set (String::NewSymbol ("data"), node::Buffer::New (
String::New (&write_buffer_[0], write_buffer_.size ())));
&write_buffer_[0], write_buffer_.size ())->handle_);

return scope.Close (result);
}
Expand Down

0 comments on commit cb5b84e

Please sign in to comment.