projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
update doc links
[m6w6/ext-http]
/
php_http_negotiate.h
diff --git
a/php_http_negotiate.h
b/php_http_negotiate.h
index 3a12ab7cd1992a01d48b409a71e32770dfd77ffa..f7405b54e5111a4f66f4fffe743bd3f436384da7 100644
(file)
--- a/
php_http_negotiate.h
+++ b/
php_http_negotiate.h
@@
-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);
}
if (value) {
result = php_http_negotiate(value, length, supported, "-", 1 TSRMLS_CC);
}
-
S
TR_FREE(value);
+
P
TR_FREE(value);
return result;
}
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);
}
if (value) {
result = php_http_negotiate(value, length, supported, NULL, 0 TSRMLS_CC);
}
-
S
TR_FREE(value);
+
P
TR_FREE(value);
return result;
}
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);
}
if (value) {
result = php_http_negotiate(value, length, supported, NULL, 0 TSRMLS_CC);
}
-
S
TR_FREE(value);
+
P
TR_FREE(value);
return result;
}
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);
}
if (value) {
result = php_http_negotiate(value, length, supported, "/", 1 TSRMLS_CC);
}
-
S
TR_FREE(value);
+
P
TR_FREE(value);
return result;
}
return result;
}