summaryrefslogtreecommitdiff
path: root/grpc/src/core/lib/iomgr/python_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/src/core/lib/iomgr/python_util.h')
-rw-r--r--grpc/src/core/lib/iomgr/python_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/src/core/lib/iomgr/python_util.h b/grpc/src/core/lib/iomgr/python_util.h
index 05d72a58..10c335b1 100644
--- a/grpc/src/core/lib/iomgr/python_util.h
+++ b/grpc/src/core/lib/iomgr/python_util.h
@@ -29,7 +29,7 @@
// They are easier to define here (rather than in Cython)
// because Cython doesn't handle #defines well.
-inline grpc_error* grpc_socket_error(char* error) {
+inline grpc_error_handle grpc_socket_error(char* error) {
return grpc_error_set_int(GRPC_ERROR_CREATE_FROM_COPIED_STRING(error),
GRPC_ERROR_INT_GRPC_STATUS,
GRPC_STATUS_UNAVAILABLE);