summaryrefslogtreecommitdiff
path: root/sapi/thttpd/thttpd.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-02-09 21:15:55 +0000
committerSascha Schumann <sas@php.net>2003-02-09 21:15:55 +0000
commitba32a619aeda5188a4bf8f04b4df7c3dd6d97bbf (patch)
treebf80c2658929a9fbd837c06a3c684e927a7cc5a1 /sapi/thttpd/thttpd.c
parent2549b1b638ffe0f279f5f68cee37bc3ae370edcd (diff)
downloadphp-git-ba32a619aeda5188a4bf8f04b4df7c3dd6d97bbf.tar.gz
use SUCCESS/FAILURE instead of 0/-1
Diffstat (limited to 'sapi/thttpd/thttpd.c')
-rw-r--r--sapi/thttpd/thttpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c
index ae46df3509..30d1cea798 100644
--- a/sapi/thttpd/thttpd.c
+++ b/sapi/thttpd/thttpd.c
@@ -349,7 +349,7 @@ static int php_thttpd_startup(sapi_module_struct *sapi_module)
static int sapi_thttpd_get_fd(int *nfd TSRMLS_DC)
{
if (nfd) *nfd = TG(hc)->conn_fd;
- return 0;
+ return SUCCESS;
}
static sapi_module_struct thttpd_sapi_module = {