dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026985c
)
God. Damn. You. Php.
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 23 Sep 2011 18:01:40 +0000
(18:01 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 23 Sep 2011 18:01:40 +0000
(18:01 +0000)
Followup r97919
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
eb61720
..
632d1b0
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-853,14
+853,14
@@
function wfErrorLog( $text, $file ) {
// Limit to 64KB
if ( strlen( $text ) > 65506 ) {
- $text = substr( $text, 0, 6550
5
);
+ $text = substr( $text, 0, 6550
6
);
}
if ( substr( $text, -1 ) != "\n" ) {
$text .= "\n";
}
} elseif ( strlen( $text ) > 65507 ) {
- $text = substr( $text, 0, 6550
6
);
+ $text = substr( $text, 0, 6550
7
);
}
$sock = socket_create( $domain, SOCK_DGRAM, SOL_UDP );