dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Add method parameter type documentation"
[lhc/web/wiklou.git]
/
includes
/
IP.php
diff --git
a/includes/IP.php
b/includes/IP.php
index
2051e69
..
fc76310
100644
(file)
--- a/
includes/IP.php
+++ b/
includes/IP.php
@@
-212,7
+212,7
@@
class IP {
$longest = $match;
$longestPos = $pos;
}
- $offset
+
= ( $pos + strlen( $match ) ); // advance
+ $offset = ( $pos + strlen( $match ) ); // advance
}
if ( $longest !== false ) {
// Replace this portion of the string with the '::' abbreviation