summaryrefslogtreecommitdiff
path: root/sapi/phttpd
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
committerZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
commit1159c84ab7849099d4a717cd05c2d920102040ed (patch)
treeed4e48bb27e2ce5de5972fc3a29c1d24c818467a /sapi/phttpd
parentfcc035108f7b8d2e169c5a592227b3df84d0573e (diff)
downloadphp-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'sapi/phttpd')
-rw-r--r--sapi/phttpd/phttpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sapi/phttpd/phttpd.c b/sapi/phttpd/phttpd.c
index a7fbebcde1..cb3b524723 100644
--- a/sapi/phttpd/phttpd.c
+++ b/sapi/phttpd/phttpd.c
@@ -62,7 +62,7 @@ php_phttpd_sapi_ub_write(const char *str, uint str_length)
int sent_bytes;
TSRMLS_FETCH();
- sent_bytes = fd_write(PHG(cip)->fd,str,str_length);
+ sent_bytes = fd_write(PHG(cip)->fd, str, str_length);
if (sent_bytes == -1) {
php_handle_aborted_connection();
@@ -78,7 +78,7 @@ php_phttpd_sapi_header_handler(sapi_header_struct *sapi_header, sapi_headers_str
char *p;
TSRMLS_FETCH();
- http_sendheaders(PHG(cip)->fd,PHG(cip), SG(sapi_headers).http_response_code, NULL);
+ http_sendheaders(PHG(cip)->fd, PHG(cip), SG(sapi_headers).http_response_code, NULL);
header_name = sapi_header->header;
header_content = p = strchr(header_name, ':');
@@ -89,7 +89,7 @@ php_phttpd_sapi_header_handler(sapi_header_struct *sapi_header, sapi_headers_str
header_content++;
} while (*header_content == ' ');
- fd_printf(PHG(cip)->fd,"%s: %s\n",header_name,header_content);
+ fd_printf(PHG(cip)->fd,"%s: %s\n", header_name, header_content);
*p = ':';
}
@@ -194,7 +194,7 @@ static sapi_module_struct phttpd_sapi_module = {
static void
php_phttpd_request_ctor(TSRMLS_D TSRMLS_DC)
{
- memset(&SG(request_info),0,sizeof(sapi_globals_struct)); /* pfusch! */
+ memset(&SG(request_info), 0, sizeof(sapi_globals_struct)); /* pfusch! */
SG(request_info).query_string = PHG(cip)->hip->request;
SG(request_info).request_method = PHG(cip)->hip->method;