Browse Source

- Fix logic. It was the wrong way around.

PEAR_1_4DEV
Andi Gutmans 23 years ago
parent
commit
7055fda013
  1. 2
      Zend/zend_hash.c

2
Zend/zend_hash.c

@ -108,7 +108,7 @@ ZEND_API ulong zend_hash_func(char *arKey, uint nKeyLength)
memcpy(&(p)->pDataPtr, pData, sizeof(void *)); \
(p)->pData = &(p)->pDataPtr; \
} else { \
if (!(p)->pDataPtr) { \
if ((p)->pDataPtr) { \
(p)->pData = (void *) pemalloc(nDataSize, (ht)->persistent); \
(p)->pDataPtr=NULL; \
} else { \

Loading…
Cancel
Save