summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-07-12 04:58:55 +0000
committerStanislav Malyshev <stas@php.net>2011-07-12 04:58:55 +0000
commit4a5959d113070ba761875323e1f7dd6c2e012ca8 (patch)
treeb53cb7dfe863be511f54737e2d05818dbadfe424
parent6be6c2d62df334fb48c3245898af249a4aeee242 (diff)
downloadphp-git-4a5959d113070ba761875323e1f7dd6c2e012ca8.tar.gz
MF53
-rw-r--r--sapi/litespeed/lsapilib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c
index 3c3373ac7e..7d0ea27fd7 100644
--- a/sapi/litespeed/lsapilib.c
+++ b/sapi/litespeed/lsapilib.c
@@ -1442,7 +1442,7 @@ int LSAPI_ParseSockAddr( const char * pBind, struct sockaddr * pAddr )
return -1;
}
- while( isspace( *p ) ) {
+ while( isspace( *pBind ) ) {
++pBind;
}
@@ -1498,7 +1498,7 @@ int LSAPI_ParseSockAddr( const char * pBind, struct sockaddr * pAddr )
}
port = atoi( pEnd );
- if (( port <= 0 )||( port > 655535 )) {
+ if (( port <= 0 )||( port > 65535 )) {
return -1;
}
if ( doAddrInfo ) {