mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Merge 0.7->trunk
This commit is contained in:
commit
f654c43008
2 changed files with 5 additions and 5 deletions
|
@ -208,7 +208,7 @@ end
|
|||
|
||||
function attempt_connection(host_session, err)
|
||||
local from_host, to_host = host_session.from_host, host_session.to_host;
|
||||
local connect_host, connect_port = idna_to_ascii(to_host), 5269;
|
||||
local connect_host, connect_port = to_host and idna_to_ascii(to_host), 5269;
|
||||
|
||||
if not connect_host then
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue