src: fix WITH_GENERIC_STREAM() type check bug
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 6 Aug 2013 13:47:42 +0000 (15:47 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 6 Aug 2013 13:47:44 +0000 (15:47 +0200)
commit45d056ee69568fd3d5758e3eb2e0252e17063a53
tree586c1ca7a78b05ba3d483f4cc4e76f4e78be0652
parent576496632c96628eb47e8650987edf01d765a6ab
src: fix WITH_GENERIC_STREAM() type check bug

The handle object was checked against the wrong constructor template.
Put another way, it was unwrapped as the wrong StreamWrap type.
src/node_wrap.h