aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-08-19 09:59:48 -0700
committerGravatar Yang Gao <yangg@google.com>2015-08-19 09:59:48 -0700
commit4836492061381701f15c4a121f44e6377786a07d (patch)
tree1ef3a3ddc92503f236df00b894e67354e2287e89 /src/node
parent5068fa45a2d888f85ebc7ac0cf0a4ac722e54d98 (diff)
parentb815fb234f0be81b73fb678f7dee8eaeb8448bcd (diff)
Merge pull request #2972 from ctiller/get-reserved-things-right
Add some reserved checks that need to be present
Diffstat (limited to 'src/node')
-rw-r--r--src/node/ext/call.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/ext/call.cc b/src/node/ext/call.cc
index 705c80ffc1..a79a47427f 100644
--- a/src/node/ext/call.cc
+++ b/src/node/ext/call.cc
@@ -581,6 +581,7 @@ NAN_METHOD(Call::StartBatch) {
uint32_t type = keys->Get(i)->Uint32Value();
ops[i].op = static_cast<grpc_op_type>(type);
ops[i].flags = 0;
+ ops[i].reserved = NULL;
switch (type) {
case GRPC_OP_SEND_INITIAL_METADATA:
op.reset(new SendMetadataOp());