Skip to content

Commit

Permalink
releasing 2.1.2
Browse files Browse the repository at this point in the history
#32 #33 releasing
  • Loading branch information
longxinH committed Dec 6, 2019
1 parent 13336d8 commit cd80641
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 150 deletions.
2 changes: 1 addition & 1 deletion extension/php_xhprof.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extern zend_module_entry xhprof_module_entry;
*/

/* XHProf version */
#define XHPROF_VERSION "2.1.2-dev"
#define XHPROF_VERSION "2.1.2"

/* Fictitious function name to represent top of the call tree. The paranthesis
* in the name is to ensure we don't conflict with user function names. */
Expand Down
18 changes: 9 additions & 9 deletions extension/xhprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -1602,19 +1602,19 @@ char* hp_trace_callback_curl_exec(char *symbol, zend_execute_data *data)
ZVAL_STRING(&func, "curl_getinfo");

zend_fcall_info fci = {
size: sizeof(zend_fcall_info),
sizeof(fci),
#if PHP_VERSION_ID < 70100
function_table: EG(function_table),
EG(function_table),
#endif
function_name: func,
func,
#if PHP_VERSION_ID < 70100
symbol_table: NULL,
NULL,
#endif
retval: &retval,
params: &params,
object: NULL,
no_separation: 1,
param_count: 1
&retval,
params,
NULL,
1,
1
};

if (zend_call_function(&fci, NULL) == FAILURE) {
Expand Down
Loading

0 comments on commit cd80641

Please sign in to comment.