From 73b23fca37d6d27d703511d9a7eedad84e786f23 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Thu, 7 Jan 2010 19:44:59 +0000 Subject: Change of way the packet objects are created/initialised If the protocol gets changed, ever, we can decide at runtime easily which protocol to use by instantiating the right protocol object. But this is restricted to the structure of the packets, not the flow. --- ext/mysqlnd/mysqlnd_net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysqlnd/mysqlnd_net.h') diff --git a/ext/mysqlnd/mysqlnd_net.h b/ext/mysqlnd/mysqlnd_net.h index 6f9e5d9918..01c2158336 100644 --- a/ext/mysqlnd/mysqlnd_net.h +++ b/ext/mysqlnd/mysqlnd_net.h @@ -24,7 +24,7 @@ #define MYSQLND_NET_H MYSQLND_NET * mysqlnd_net_init(zend_bool persistent TSRMLS_DC); -void mysqlnd_net_free(MYSQLND_NET * net TSRMLS_DC); +void mysqlnd_net_free(MYSQLND_NET * const net TSRMLS_DC); #endif /* MYSQLND_NET_H */ -- cgit v1.2.1