File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 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) {
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 ;
You can’t perform that action at this time.
0 commit comments