From 84eb59673485cfcbb7c64a6916cd6a115915c233 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Fri, 12 Jul 2019 14:58:00 +0200 Subject: [PATCH] Convert php_error_docref0() to php_error_docref() --- ext/src/Cluster/Builder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/src/Cluster/Builder.c b/ext/src/Cluster/Builder.c index 22c5c7b8..97ca0d87 100644 --- a/ext/src/Cluster/Builder.c +++ b/ext/src/Cluster/Builder.c @@ -130,7 +130,7 @@ PHP_METHOD(ClusterBuilder, build) rc = cass_cluster_set_use_hostname_resolution(cluster->cluster, self->enable_hostname_resolution); if (rc == CASS_ERROR_LIB_NOT_IMPLEMENTED) { if (self->enable_hostname_resolution) { - php_error_docref0(NULL TSRMLS_CC, E_WARNING, + php_error_docref(NULL TSRMLS_CC, E_WARNING, "The underlying C/C++ driver does not implement hostname resolution it will be disabled"); } } else {