Commit 3499afc5 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) suppress warning for socket_sendto(): Host lookup failed [-10004]: No...

(legacy) suppress warning for socket_sendto(): Host lookup failed [-10004]: No address associated with name in /usr/local/etc/inc/notices.growl.class on line 79

(cherry picked from commit 1be61431)
parent e9d0bd1a
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
{ {
$sck = @socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); $sck = @socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
if ($sck) { if ($sck) {
socket_sendto($sck, $data, strlen($data), 0x100, $this->address, $this->port); @socket_sendto($sck, $data, strlen($data), 0x100, $this->address, $this->port);
return true; return true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment