summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-08-03 11:46:02 +0000
committerJani Taskinen <jani@php.net>2008-08-03 11:46:02 +0000
commite008959c02d1b4d999dd046457e40143c0163584 (patch)
tree9a299490e330ff602f79481bfe5a1aa151e1e9d5
parent3d0b68418b3dbecc1df7ab19daa64cf204c39bdb (diff)
downloadphp-git-e008959c02d1b4d999dd046457e40143c0163584.tar.gz
- Added missing $Id$ tags and nuked c++ comments
-rw-r--r--sapi/litespeed/lsapi_main.c7
-rw-r--r--sapi/litespeed/lsapilib.c6
2 files changed, 6 insertions, 7 deletions
diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c
index 7f3cd7ef9b..6ce0b63853 100644
--- a/sapi/litespeed/lsapi_main.c
+++ b/sapi/litespeed/lsapi_main.c
@@ -16,6 +16,7 @@
+----------------------------------------------------------------------+
*/
+/* $Id */
#include "php.h"
#include "SAPI.h"
@@ -804,14 +805,14 @@ zend_function_entry litespeed_functions[] = {
static PHP_MINIT_FUNCTION(litespeed)
{
- //REGISTER_INI_ENTRIES();
+ /* REGISTER_INI_ENTRIES(); */
return SUCCESS;
}
static PHP_MSHUTDOWN_FUNCTION(litespeed)
{
- //UNREGISTER_INI_ENTRIES();
+ /* UNREGISTER_INI_ENTRIES(); */
return SUCCESS;
}
@@ -840,7 +841,7 @@ static int add_associate_array( const char * pKey, int keyLen, const char * pVal
Fetch all HTTP request headers */
PHP_FUNCTION(litespeed_request_headers)
{
- //TODO:
+ /* TODO: */
if (ZEND_NUM_ARGS() > 0) {
WRONG_PARAM_COUNT;
}
diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c
index eac1cd98d7..85fde4c37b 100644
--- a/sapi/litespeed/lsapilib.c
+++ b/sapi/litespeed/lsapilib.c
@@ -1,4 +1,3 @@
-
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
@@ -17,6 +16,7 @@
+----------------------------------------------------------------------+
*/
+/* $Id$ */
/*
Copyright (c) 2007, Lite Speed Technologies Inc.
@@ -50,8 +50,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
-
#include <lsapilib.h>
#include <ctype.h>
@@ -138,7 +136,7 @@ static const char *HTTP_HEADERS[H_TRANSFER_ENCODING+1] = {
};
static int HTTP_HEADER_LEN[H_TRANSFER_ENCODING+1] = {
- 6, 14, 15, 15, 13, 10, 12, 14, 6, 7, 4, 6, 7, 10, //user-agent
+ 6, 14, 15, 15, 13, 10, 12, 14, 6, 7, 4, 6, 7, 10, /* user-agent */
13,17, 8, 13, 8, 19, 10, 5, 15, 3, 17
};