mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #2581 from PiBa-NL/23_silence_syncerror
This commit is contained in:
commit
dcbbd7b40a
@ -932,7 +932,7 @@ class XML_RPC_Client extends XML_RPC_Base {
|
||||
|
||||
$ctx = stream_context_create($ctx_options);
|
||||
|
||||
$fp = stream_socket_client("{$this->protocol}{$server}:{$port}",
|
||||
$fp = @stream_socket_client("{$this->protocol}{$server}:{$port}",
|
||||
$this->errno, $this->errstr,
|
||||
($timeout > 0 ? $timeout : ini_get("default_socket_timeout")),
|
||||
STREAM_CLIENT_CONNECT, $ctx);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user