mirror of https://github.com/grpc/grpc-node.git
Zero out reserved field in node
This commit is contained in:
parent
2cbaf1e9ac
commit
c95b454a49
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue