summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_priv.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-04-01 20:21:50 +0000
committerPierre Joye <pajoye@php.net>2010-04-01 20:21:50 +0000
commit96e2651fa2f4cb012d9235b7065128ac9ec0d49c (patch)
tree63e9353470d2e1ddfc2205038b3fc7560a98020c /ext/mysqlnd/mysqlnd_priv.h
parenta3857fd9631102cbe923cca8fce0d22a4c5c3199 (diff)
downloadphp-git-96e2651fa2f4cb012d9235b7065128ac9ec0d49c.tar.gz
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
Diffstat (limited to 'ext/mysqlnd/mysqlnd_priv.h')
-rw-r--r--ext/mysqlnd/mysqlnd_priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_priv.h b/ext/mysqlnd/mysqlnd_priv.h
index 3ca37eaddb..7eb38b68dd 100644
--- a/ext/mysqlnd/mysqlnd_priv.h
+++ b/ext/mysqlnd/mysqlnd_priv.h
@@ -93,10 +93,10 @@
#define SET_NEW_MESSAGE(buf, buf_len, message, len, persistent) \
{\
if ((buf)) { \
- mnd_pefree((buf), (persistent)); \
+ pefree((buf), (persistent)); \
} \
if ((message)) { \
- (buf) = mnd_pestrndup((message), (len), (persistent)); \
+ (buf) = pestrndup((message), (len), (persistent)); \
} else { \
buf = NULL; \
} \
@@ -106,7 +106,7 @@
#define SET_EMPTY_MESSAGE(buf, buf_len, persistent) \
{\
if ((buf)) { \
- mnd_pefree((buf), (persistent)); \
+ pefree((buf), (persistent)); \
(buf) = NULL; \
} \
(buf_len) = 0; \