Software /
code /
prosody
Comparison
core/s2smanager.lua @ 4020:472691075967
s2smanager: Add a missing semi-colon
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Dec 2010 04:48:38 +0000 |
parent | 4019:80aa47c009f0 |
child | 4021:5af5fdaaa940 |
comparison
equal
deleted
inserted
replaced
4019:80aa47c009f0 | 4020:472691075967 |
---|---|
313 (host_session.log or log)("info", "Beginning new connection attempt to %s (%s:%d)", host_session.to_host, connect_host, connect_port); | 313 (host_session.log or log)("info", "Beginning new connection attempt to %s (%s:%d)", host_session.to_host, connect_host, connect_port); |
314 -- Ok, we're going to try to connect | 314 -- Ok, we're going to try to connect |
315 | 315 |
316 local from_host, to_host = host_session.from_host, host_session.to_host; | 316 local from_host, to_host = host_session.from_host, host_session.to_host; |
317 | 317 |
318 local conn, handler = socket.tcp() | 318 local conn, handler = socket.tcp(); |
319 | 319 |
320 if not conn then | 320 if not conn then |
321 log("warn", "Failed to create outgoing connection, system error: %s", handler); | 321 log("warn", "Failed to create outgoing connection, system error: %s", handler); |
322 return false, handler; | 322 return false, handler; |
323 end | 323 end |