mirror of https://github.com/nodejs/node.git
stream_wrap.cc: fix typo
parent
27ddd14e9f
commit
4624cf1214
|
@ -337,7 +337,7 @@ Handle<Value> StreamWrap::WriteStringImpl(const Arguments& args) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case kUcs2:
|
case kUcs2:
|
||||||
storage_size += string->Length() * sizeof(uint16_t);
|
storage_size = string->Length() * sizeof(uint16_t);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue