Index: trunk/phase3/includes/SquidUpdate.php |
— | — | @@ -143,8 +143,8 @@ |
144 | 144 | /* open the remaining sockets for this server */ |
145 | 145 | list($server, $port) = explode(':', $wgSquidServers[$ss]); |
146 | 146 | if(!isset($port)) $port = 80; |
147 | | - $sockets[] = @fsockopen($server, $port, $error, $errstr, 2); |
148 | | - @stream_set_blocking($sockets[$s],false); |
| 147 | + $sockets[$so+1] = @fsockopen($server, $port, $error, $errstr, 2); |
| 148 | + @stream_set_blocking($sockets[$so+1],false); |
149 | 149 | } |
150 | 150 | $so++; |
151 | 151 | } |