diff options
author | Craig Tiller <ctiller@google.com> | 2016-10-26 21:08:10 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-10-26 21:08:10 -0700 |
commit | 618e67d655d8a0a345463d6e3e690e258dadd763 (patch) | |
tree | a886d8746523a58d9e6f42d31a99b2c943fdb2e4 /src/core/lib/security/util | |
parent | 2d75209fa8f3e43e4b7994b99b7d09e5116402ab (diff) |
s/GPR_SLICE/GRPC_SLICE/g
Diffstat (limited to 'src/core/lib/security/util')
-rw-r--r-- | src/core/lib/security/util/b64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/security/util/b64.c b/src/core/lib/security/util/b64.c index f4f0092c3d..6270277914 100644 --- a/src/core/lib/security/util/b64.c +++ b/src/core/lib/security/util/b64.c @@ -185,7 +185,7 @@ static int decode_group(const unsigned char *codes, size_t num_codes, grpc_slice grpc_base64_decode_with_len(const char *b64, size_t b64_len, int url_safe) { grpc_slice result = grpc_slice_malloc(b64_len); - unsigned char *current = GPR_SLICE_START_PTR(result); + unsigned char *current = GRPC_SLICE_START_PTR(result); size_t result_size = 0; unsigned char codes[4]; size_t num_codes = 0; @@ -224,7 +224,7 @@ grpc_slice grpc_base64_decode_with_len(const char *b64, size_t b64_len, !decode_group(codes, num_codes, current, &result_size)) { goto fail; } - GPR_SLICE_SET_LENGTH(result, result_size); + GRPC_SLICE_SET_LENGTH(result, result_size); return result; fail: |