We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de453f2 commit ddbb201Copy full SHA for ddbb201
php_kafka.c
@@ -233,7 +233,7 @@ zend_object_value create_kafka_connection(zend_class_entry *class_type TSRMLS_DC
233
//add properties table
234
#if PHP_VERSION_ID < 50399
235
zend_hash_copy(
236
- interns->std.properties, &class_type->default_properties,
+ intern->std.properties, &class_type->default_properties,
237
(copy_ctor_func_t)zval_add_ref,
238
(void *)&tmp,
239
sizeof tmp
@@ -942,7 +942,7 @@ PHP_METHOD(Kafka, getPartitionOffsets)
942
topic
943
);
944
if (kafka_r < 1) {
945
- const char *msg = NULL;
+ char *msg = NULL;
946
if (kafka_r)
947
msg = kafka_r == -2 ? "No kafka connection" : "Allocation error";
948
else
0 commit comments