summaryrefslogtreecommitdiffstats
path: root/135.patch
blob: e4baad7934ba59ce9096bff3196f68f07a2baf1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 84eb59673485cfcbb7c64a6916cd6a115915c233 Mon Sep 17 00:00:00 2001
From: George Peter Banyard <girgias@php.net>
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 {