projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7de0fe
)
Print out the stanza also
author
Matthew Wild
<mwild1@gmail.com>
Fri, 14 Nov 2008 02:23:43 +0000
(
02:23
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 14 Nov 2008 02:23:43 +0000
(
02:23
+0000)
core/s2smanager.lua
patch
|
blob
|
history
diff --git
a/core/s2smanager.lua
b/core/s2smanager.lua
index 16092ba8219d30def6ac12511f37d58171c1ea1d..530e30874e1ed50dcbb2d53d3d10f0adc4fbb05c 100644
(file)
--- a/
core/s2smanager.lua
+++ b/
core/s2smanager.lua
@@
-47,7
+47,8
@@
function send_to_host(from_host, to_host, data)
else host.sendq = { data }; end
elseif host.type == "local" or host.type == "component" then
log("error", "Trying to send a stanza to ourselves??")
- log("error", "Traceback: "..get_traceback());
+ log("error", "Traceback: %s", get_traceback());
+ log("error", "Stanza: %s", stanza);
else
(host.log or log)("debug", "going to send stanza to "..to_host.." from "..from_host);
-- FIXME