aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanley.cheung@gmail.com>2016-07-29 15:23:10 -0700
committerGravatar GitHub <noreply@github.com>2016-07-29 15:23:10 -0700
commitf4f3cb39752f989bc1abbc0a2639ba065474e7b3 (patch)
tree27fff7a3715526f0f60feca559501d191531d2fe
parentc70f2f76faba2a52286e033b9f7d44aca290b0ec (diff)
parentc1f25fb199a076b129dc283f51acbe1e1e7ba60c (diff)
Merge pull request #7582 from stanley-cheung/php-fix-zts-error
PHP: missed a macro
-rw-r--r--src/php/ext/grpc/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/ext/grpc/channel.c b/src/php/ext/grpc/channel.c
index e96ead582f..b5a2c9f6ba 100644
--- a/src/php/ext/grpc/channel.c
+++ b/src/php/ext/grpc/channel.c
@@ -84,7 +84,7 @@ void php_grpc_read_args_array(zval *args_array,
array_hash = Z_ARRVAL_P(args_array);
if (!array_hash) {
zend_throw_exception(spl_ce_InvalidArgumentException,
- "array_hash is NULL", 1);
+ "array_hash is NULL", 1 TSRMLS_CC);
return;
}
args->num_args = zend_hash_num_elements(array_hash);