Ticket #43232: patch-cacti-r7304.diff
File patch-cacti-r7304.diff, 587 bytes (added by jul_bsd@…, 11 years ago) |
---|
-
lib/ping.php
376 376 socket_write($this->socket, $this->request, $this->request_len); 377 377 378 378 /* get the socket response */ 379 switch(socket_select($r = array($this->socket), $w = NULL, $f = NULL, $to_sec, $to_usec)) { 379 $w = $f = array(); 380 $r = array($this->socket); 381 switch(socket_select($r, $w, $f, $to_sec, $to_usec)) { 380 382 case 2: 381 383 /* connection refused */ 382 384 $error = "refused";