Comparison

core/s2smanager.lua @ 2376:c5faafa89f50

s2smanager: Whitespace
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Dec 2009 21:14:44 +0000
parent 2368:4726cd9a6318
child 2377:78c5cb163ea9
comparison
equal deleted inserted replaced
2375:31297a5641e3 2376:c5faafa89f50
350 if session.secure == false then 350 if session.secure == false then
351 session.secure = true; 351 session.secure = true;
352 end 352 end
353 353
354 if session.version >= 1.0 and not (attr.to and attr.from) then 354 if session.version >= 1.0 and not (attr.to and attr.from) then
355
356 (session.log or log)("warn", "Remote of stream "..(session.from_host or "(unknown)").."->"..(session.to_host or "(unknown)") 355 (session.log or log)("warn", "Remote of stream "..(session.from_host or "(unknown)").."->"..(session.to_host or "(unknown)")
357 .." failed to specify to (%s) and/or from (%s) hostname as per RFC", tostring(attr.to), tostring(attr.from)); 356 .." failed to specify to (%s) and/or from (%s) hostname as per RFC", tostring(attr.to), tostring(attr.from));
358 end 357 end
359 358
360 if session.direction == "incoming" then 359 if session.direction == "incoming" then