]> granicus.if.org Git - php/commitdiff
fix typo noticed by Nuno
authorAntony Dovgal <tony2001@php.net>
Fri, 12 Aug 2005 19:02:22 +0000 (19:02 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 12 Aug 2005 19:02:22 +0000 (19:02 +0000)
Zend/zend_alloc.h

index 09814d7ee409a5012c6b02e3b82a91703b66fe31..63df6f72e44eaa5aa2cfda148fb63cd0f1c8301c 100644 (file)
@@ -154,7 +154,7 @@ ZEND_API UChar *_eustrndup(const UChar *s, int32_t length ZEND_FILE_LINE_DC ZEND
 #define eumalloc(size)                                 (UChar*)malloc(UBYTES(size))
 #define eurealloc(ptr, size)                   (UChar*)erealloc((ptr), UBYTES(size))
 #define eustrndup(s, length)                   zend_ustrndup((s), (length))
-#define eustrdup(s)                                            zend_ustnrdup((s), u_strlen(s))
+#define eustrdup(s)                                            zend_ustrndup((s), u_strlen(s))
 
 /* Relay wrapper macros */
 #define emalloc_rel(size)                                      malloc(size)