Skip to content

Commit 9f7d049

Browse files
committed
Fix zend_string warning
1 parent b4d105b commit 9f7d049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: php_memcached.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ char *php_memc_printable_func (zend_fcall_info *fci, zend_fcall_info_cache *fci_
493493
char *buffer = NULL;
494494

495495
if (fci->object) {
496-
spprintf (&buffer, 0, "%s::%s", ZSTR_VAL(fci->object->ce->name), fci_cache->function_handler->common.function_name);
496+
spprintf (&buffer, 0, "%s::%s", ZSTR_VAL(fci->object->ce->name), ZSTR_VAL(fci_cache->function_handler->common.function_name));
497497
} else {
498498
if (Z_TYPE (fci->function_name) == IS_OBJECT) {
499499
spprintf (&buffer, 0, "%s", ZSTR_VAL(Z_OBJCE(fci->function_name)->name));

0 commit comments

Comments
 (0)