Skip to content
Snippets Groups Projects
Commit 9e11a98e authored by Craig Tiller's avatar Craig Tiller
Browse files

Continue updating PHP

parent 7a454c24
No related branches found
No related tags found
No related merge requests found
...@@ -150,8 +150,8 @@ PHP_METHOD(Server, requestCall) { ...@@ -150,8 +150,8 @@ PHP_METHOD(Server, requestCall) {
1 TSRMLS_CC); 1 TSRMLS_CC);
goto cleanup; goto cleanup;
} }
char *method_text = grpc_slice_as_c_string(details.method); char *method_text = grpc_slice_to_c_string(details.method);
char *host_text = grpc_slice_as_c_string(details.host); char *host_text = grpc_slice_to_c_string(details.host);
php_grpc_add_property_string(result, "method", method_text, true); php_grpc_add_property_string(result, "method", method_text, true);
php_grpc_add_property_string(result, "host", host_text, true); php_grpc_add_property_string(result, "host", host_text, true);
gpr_free(method_text); gpr_free(method_text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment