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
Replace strlen() calls with strict string comparisons
[lhc/web/wiklou.git]
/
includes
/
http
/
PhpHttpRequest.php
diff --git
a/includes/http/PhpHttpRequest.php
b/includes/http/PhpHttpRequest.php
index
30ab181
..
d2af8c8
100644
(file)
--- a/
includes/http/PhpHttpRequest.php
+++ b/
includes/http/PhpHttpRequest.php
@@
-217,7
+217,7
@@
class PhpHttpRequest extends MWHttpRequest {
break;
}
- if (
strlen( $buf )
) {
+ if (
$buf !== ''
) {
call_user_func( $this->callback, $fh, $buf );
}
}