aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-06-30 17:59:01 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-06-30 17:59:01 -0700
commit9ac997acf2f67eb76ce43359d7a7881f320f4c9c (patch)
tree358c770d81c215d43364d3474494eaf296764765 /src/objective-c/GRPCClient
parent6721d4f0f18c71f5e4ab1cef904944185ed86b89 (diff)
Added TODO for php.
Diffstat (limited to 'src/objective-c/GRPCClient')
-rw-r--r--src/objective-c/GRPCClient/private/NSData+GRPC.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/NSData+GRPC.m b/src/objective-c/GRPCClient/private/NSData+GRPC.m
index ee72e9068e..99c882ee92 100644
--- a/src/objective-c/GRPCClient/private/NSData+GRPC.m
+++ b/src/objective-c/GRPCClient/private/NSData+GRPC.m
@@ -44,7 +44,7 @@ static void MallocAndCopyByteBufferToCharArray(grpc_byte_buffer *buffer,
grpc_byte_buffer_reader reader;
if (!grpc_byte_buffer_reader_init(&reader, buffer)) {
*array = NULL;
- *lenght = 0;
+ *length = 0;
return;
}
// The slice contains uncompressed data even if compressed data was received