File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ static bool php_grpc_not_channel_arg_key(const char* key) {
105
105
"grpc_target_persist_bound" ,
106
106
};
107
107
108
- for (int i = 0 ; i < sizeof (ignoredKeys )/ sizeof (ignoredKeys [0 ]); ++ i ) {
108
+ for (int i = 0 ; i < sizeof (ignoredKeys ) / sizeof (ignoredKeys [0 ]); i ++ ) {
109
109
if (strcmp (key , ignoredKeys [i ]) == 0 ) {
110
110
return true;
111
111
}
@@ -390,9 +390,9 @@ PHP_METHOD(Channel, __construct) {
390
390
unsigned char digest [20 ] = { 0 };
391
391
PHP_SHA1_CTX context ;
392
392
PHP_SHA1Init (& context );
393
- for (int i = 0 ; i < args .num_args ; ++ i ) {
393
+ for (int i = 0 ; i < args .num_args ; i ++ ) {
394
394
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 ) {
396
396
case GRPC_ARG_INTEGER :
397
397
PHP_GRPC_SHA1Update (& context , & args .args [i ].value .integer , 4 );
398
398
break ;
You can’t perform that action at this time.
0 commit comments