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:
5db5dc2
)
hoppla
author
Michael Wallner
<mike@php.net>
Fri, 22 Jul 2005 15:32:11 +0000
(15:32 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 22 Jul 2005 15:32:11 +0000
(15:32 +0000)
http_response_object.c
patch
|
blob
|
history
diff --git
a/http_response_object.c
b/http_response_object.c
index 0d99e9025884a6876414f5f3da861f864d39cbfa..7e8c77c92f5d8dcc9382d4cfc86388dca7ca6965 100644
(file)
--- a/
http_response_object.c
+++ b/
http_response_object.c
@@
-612,10
+612,11
@@
PHP_METHOD(HttpResponse, send)
http_error(E_WARNING, HTTP_E_HEADER, "Cannot send HttpResponse, headers have already been sent");
RETURN_FALSE;
}
-
+
sent = GET_STATIC_PROP(sent);
if (Z_LVAL_P(sent)) {
http_error(E_WARNING, HTTP_E_UNKOWN, "Cannot send HttpResponse, response has already been sent");
+ RETURN_FALSE;
} else {
Z_LVAL_P(sent) = 1;
}