projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
96d059e
)
- typo
author
Michael Wallner
<mike@php.net>
Wed, 2 Nov 2005 15:11:29 +0000
(15:11 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 2 Nov 2005 15:11:29 +0000
(15:11 +0000)
http_response_object.c
patch
|
blob
|
history
diff --git
a/http_response_object.c
b/http_response_object.c
index 915297ef86db87231419032765120263d178d687..ec67afccb141571fbb58489f61bad99538cbfe9c 100644
(file)
--- a/
http_response_object.c
+++ b/
http_response_object.c
@@
-494,7
+494,7
@@
PHP_METHOD(HttpResponse, setCacheControl)
http_error_ex(HE_WARNING, HTTP_E_INVALID_PARAM, "Cache-Control '%s' doesn't match public, private or no-cache", ccontrol);
RETURN_FALSE;
} else {
- size_t cctl_len = spprintf(&cctl, 0, "%s, must-revalidate, max
_
age=%ld", ccontrol, max_age);
+ size_t cctl_len = spprintf(&cctl, 0, "%s, must-revalidate, max
-
age=%ld", ccontrol, max_age);
RETVAL_SUCCESS(UPD_STATIC_STRL(cacheControl, cctl, cctl_len));
efree(cctl);
}