summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-10-05 12:06:35 +0000
committerSascha Schumann <sas@php.net>1999-10-05 12:06:35 +0000
commitc36bff57ca1ea42c6cfeea6c856735745090d1d8 (patch)
tree47ce30ee0919629f4fb2b6bb065060ef0554630d /main
parente0d561a35beae1f9f5be8f9aa250ec8552836c3b (diff)
downloadphp-git-c36bff57ca1ea42c6cfeea6c856735745090d1d8.tar.gz
Fix logic.
Diffstat (limited to 'main')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index dd473890d6..25c5f6de8b 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -289,7 +289,7 @@ SAPI_API int sapi_send_headers()
switch (retval) {
case SAPI_HEADER_SENT_SUCCESSFULLY:
SG(headers_sent) = 1;
- ret = FAILURE;
+ ret = SUCCESS;
break;
case SAPI_HEADER_DO_SEND:
if (SG(sapi_headers).http_status_line) {