diff options
author | Stanislav Malyshev <stas@php.net> | 2011-07-12 04:58:55 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2011-07-12 04:58:55 +0000 |
commit | 4a5959d113070ba761875323e1f7dd6c2e012ca8 (patch) | |
tree | b53cb7dfe863be511f54737e2d05818dbadfe424 /sapi/litespeed | |
parent | 6be6c2d62df334fb48c3245898af249a4aeee242 (diff) | |
download | php-git-4a5959d113070ba761875323e1f7dd6c2e012ca8.tar.gz |
MF53
Diffstat (limited to 'sapi/litespeed')
-rw-r--r-- | sapi/litespeed/lsapilib.c | 4 |
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 ) { |