rename info tests
[m6w6/ext-http] / php_http_negotiate.h
index 95e2fa163aa014f4b14e2e3840e67d4482d7cc21..f7405b54e5111a4f66f4fffe743bd3f436384da7 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2011, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2014, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -24,7 +24,7 @@ static inline HashTable *php_http_negotiate_language(HashTable *supported, php_h
        if (value) {
                result = php_http_negotiate(value, length, supported, "-", 1 TSRMLS_CC);
        }
-       STR_FREE(value);
+       PTR_FREE(value);
 
        return result;
 }
@@ -38,7 +38,7 @@ static inline HashTable *php_http_negotiate_encoding(HashTable *supported, php_h
        if (value) {
                result = php_http_negotiate(value, length, supported, NULL, 0 TSRMLS_CC);
        }
-       STR_FREE(value);
+       PTR_FREE(value);
 
        return result;
 }
@@ -52,7 +52,7 @@ static inline HashTable *php_http_negotiate_charset(HashTable *supported, php_ht
        if (value) {
                result = php_http_negotiate(value, length, supported, NULL, 0 TSRMLS_CC);
        }
-       STR_FREE(value);
+       PTR_FREE(value);
 
        return result;
 }
@@ -66,7 +66,7 @@ static inline HashTable *php_http_negotiate_content_type(HashTable *supported, p
        if (value) {
                result = php_http_negotiate(value, length, supported, "/", 1 TSRMLS_CC);
        }
-       STR_FREE(value);
+       PTR_FREE(value);
 
        return result;
 }