summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2003-12-16 15:48:20 +0000
committerAntony Dovgal <tony2001@php.net>2003-12-16 15:48:20 +0000
commitc0e519e6ead5bd535d50d8be6930fab84af863dd (patch)
tree3e24aab5a3579cd0a44a0171f419ab163f1cec5e
parentf7b3e30fe13518967c7ee638332d55a24b821f82 (diff)
downloadphp-git-c0e519e6ead5bd535d50d8be6930fab84af863dd.tar.gz
fix warning, concerned to second _oci_close_server() call
-rw-r--r--ext/oci8/oci8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 4db08ddd68..5c6db0366d 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -990,11 +990,13 @@ _oci_descriptor_list_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
static void
_oci_server_list_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
+#if 0
oci_server *server = (oci_server *)rsrc->ptr;
if (server->persistent)
return;
_oci_close_server(server);
+#endif
}
/* }}} */