summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.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/apache/mod_php4.c
parent2549b1b638ffe0f279f5f68cee37bc3ae370edcd (diff)
downloadphp-git-ba32a619aeda5188a4bf8f04b4df7c3dd6d97bbf.tar.gz
use SUCCESS/FAILURE instead of 0/-1
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 0803edef4a..9f3d7444dd 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -355,9 +355,9 @@ static int sapi_apache_get_fd(int *nfd TSRMLS_DC)
if (fd >= 0) {
if (nfd) *nfd = fd;
- return 0;
+ return SUCCESS;
}
- return -1;
+ return FAILURE;
}
/* }}} */
@@ -369,7 +369,7 @@ static int sapi_apache_force_http_10(TSRMLS_D)
r->proto_num = HTTP_VERSION(1,0);
- return 0;
+ return SUCCESS;
}
/* {{{ sapi_apache_get_target_uid
@@ -377,7 +377,7 @@ static int sapi_apache_force_http_10(TSRMLS_D)
static int sapi_apache_get_target_uid(uid_t *obj TSRMLS_DC)
{
*obj = ap_user_id;
- return 0;
+ return SUCCESS;
}
/* {{{ sapi_apache_get_target_gid
@@ -385,7 +385,7 @@ static int sapi_apache_get_target_uid(uid_t *obj TSRMLS_DC)
static int sapi_apache_get_target_gid(gid_t *obj TSRMLS_DC)
{
*obj = ap_group_id;
- return 0;
+ return SUCCESS;
}
/* {{{ sapi_module_struct apache_sapi_module