aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-18 10:34:32 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-18 10:34:32 -0700
commit42758992973025e99f9916bb973471a87121daa1 (patch)
treed23bd89c25f454417726017d1eacf12cf1680ed0 /src/python/grpcio
parent9928d39f4d3ac51775182701b2296caa89052aaa (diff)
Sprinkle reserved = NULL around
Diffstat (limited to 'src/python/grpcio')
-rw-r--r--src/python/grpcio/grpc/_adapter/_c/utility.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/grpcio/grpc/_adapter/_c/utility.c b/src/python/grpcio/grpc/_adapter/_c/utility.c
index 2eea0e18ef..590f7e013a 100644
--- a/src/python/grpcio/grpc/_adapter/_c/utility.c
+++ b/src/python/grpcio/grpc/_adapter/_c/utility.c
@@ -184,6 +184,7 @@ int pygrpc_produce_op(PyObject *op, grpc_op *result) {
return 0;
}
c_op.op = type;
+ c_op.reserved = NULL;
c_op.flags = PyInt_AsLong(PyTuple_GET_ITEM(op, WRITE_FLAGS_INDEX));
if (PyErr_Occurred()) {
return 0;