Skip to content

Commit d254303

Browse files
committed
add some space
1 parent c683ef0 commit d254303

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/php/ext/grpc/channel.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static bool php_grpc_not_channel_arg_key(const char* key) {
105105
"grpc_target_persist_bound",
106106
};
107107

108-
for (int i = 0; i < sizeof(ignoredKeys)/sizeof(ignoredKeys[0]); ++i) {
108+
for (int i = 0; i < sizeof(ignoredKeys) / sizeof(ignoredKeys[0]); i++) {
109109
if (strcmp(key, ignoredKeys[i]) == 0) {
110110
return true;
111111
}
@@ -390,9 +390,9 @@ PHP_METHOD(Channel, __construct) {
390390
unsigned char digest[20] = { 0 };
391391
PHP_SHA1_CTX context;
392392
PHP_SHA1Init(&context);
393-
for (int i = 0; i < args.num_args; ++i) {
393+
for (int i = 0; i < args.num_args; i++) {
394394
PHP_GRPC_SHA1Update(&context, args.args[i].key, strlen(args.args[i].key) + 1);
395-
switch(args.args[i].type) {
395+
switch (args.args[i].type) {
396396
case GRPC_ARG_INTEGER:
397397
PHP_GRPC_SHA1Update(&context, &args.args[i].value.integer, 4);
398398
break;

0 commit comments

Comments
 (0)