Yep, s2s definitely works now. This is just a small fix for logging...

Fri, 14 Nov 2008 02:38:41 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 14 Nov 2008 02:38:41 +0000
changeset 258
a93ccd84db83
parent 257
762274c98040
child 259
1485d272400d

Yep, s2s definitely works now. This is just a small fix for logging...

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Fri Nov 14 02:33:20 2008 +0000
+++ b/core/s2smanager.lua	Fri Nov 14 02:38:41 2008 +0000
@@ -48,7 +48,7 @@
 		elseif host.type == "local" or host.type == "component" then
 			log("error", "Trying to send a stanza to ourselves??")
 			log("error", "Traceback: %s", get_traceback());
-			log("error", "Stanza: %s", data);
+			log("error", "Stanza: %s", tostring(data));
 		else
 			(host.log or log)("debug", "going to send stanza to "..to_host.." from "..from_host);
 			-- FIXME

mercurial