diff options
author | Mark D. Roth <roth@google.com> | 2017-01-25 15:02:08 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-01-28 02:23:42 +0100 |
commit | 26e973e36e30135f233bbc706df562a2217f6670 (patch) | |
tree | 51db163146f8ac47a87cb1ca2e57a56ec62ef1fa | |
parent | 835646e9ffcaf3e825aaf538f44c504292480be5 (diff) |
Fix cython bug.
-rw-r--r-- | src/python/grpcio/grpc/_cython/_cygrpc/records.pyx.pxi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/records.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/records.pyx.pxi index e07a2f873c..aee5d3c188 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/records.pyx.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/records.pyx.pxi @@ -652,8 +652,8 @@ def operation_receive_message(int flags): # n.b. the c_op.data.receive_message field needs to be deleted by us, # anyway, so we just let that be handled by the ByteBuffer() we allocated # the line before. - op.c_op.data.recv_message.receive_message = - &op._received_message.c_byte_buffer + op.c_op.data.recv_message.receive_message = ( + &op._received_message.c_byte_buffer) op.is_valid = True return op |