aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-06-08 16:31:19 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-06-08 20:06:17 -0700
commit59f905d79a109644a0d1f3ec73f34cbae65448fc (patch)
tree9ca4e84a195b4a8d8332d24362bc6828c74d4dea /src/php/ext
parent237443faa49dce1ba4df2d74000acef2802b3bdd (diff)
Changes to byte_buffer based on comments.
Diffstat (limited to 'src/php/ext')
-rw-r--r--src/php/ext/grpc/byte_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/ext/grpc/byte_buffer.c b/src/php/ext/grpc/byte_buffer.c
index bb9d3f5337..8be0a20607 100644
--- a/src/php/ext/grpc/byte_buffer.c
+++ b/src/php/ext/grpc/byte_buffer.c
@@ -51,7 +51,7 @@
grpc_byte_buffer *string_to_byte_buffer(char *string, size_t length) {
gpr_slice slice = gpr_slice_from_copied_buffer(string, length);
- grpc_byte_buffer *buffer = grpc_byte_buffer_create(&slice, 1);
+ grpc_byte_buffer *buffer = grpc_raw_byte_buffer_create(&slice, 1);
gpr_slice_unref(slice);
return buffer;
}