Fixing PHP.

pull/2947/head
Julien Boeuf 10 years ago
parent c17fecd224
commit 5cc1e2ec4b
  1. 2
      src/php/ext/grpc/channel.c

@ -148,7 +148,7 @@ PHP_METHOD(Channel, __construct) {
return;
}
if (args_array == NULL) {
channel->wrapped = grpc_insecure_channel_create(target, NULL, NULL, NULL);
channel->wrapped = grpc_insecure_channel_create(target, NULL, NULL);
} else {
array_hash = Z_ARRVAL_P(args_array);
if (zend_hash_find(array_hash, "credentials", sizeof("credentials"),

Loading…
Cancel
Save