Software / code / prosody
Comparison
core/s2smanager.lua @ 225:bbbd169b326b
Just committing this warning, because I want to know if the problem really affects us
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 08 Nov 2008 20:39:08 +0000 |
| parent | 199:eccf66b42bd7 |
| child | 227:211c2e04c82b |
comparison
equal
deleted
inserted
replaced
| 224:4b1e30ddd2bb | 225:bbbd169b326b |
|---|---|
| 37 initiate_dialback(host); | 37 initiate_dialback(host); |
| 38 if not host.sendq then host.sendq = { data }; | 38 if not host.sendq then host.sendq = { data }; |
| 39 else t_insert(host.sendq, data); end | 39 else t_insert(host.sendq, data); end |
| 40 else | 40 else |
| 41 log("debug", "going to send stanza to "..to_host.." from "..from_host); | 41 log("debug", "going to send stanza to "..to_host.." from "..from_host); |
| 42 -- FIXME | |
| 43 if hosts[to_host].from_host ~= from_host then log("error", "WARNING! This is a bug!!!!"); end | |
| 42 hosts[to_host].sends2s(data); | 44 hosts[to_host].sends2s(data); |
| 43 log("debug", "stanza sent over "..hosts[to_host].type); | 45 log("debug", "stanza sent over "..hosts[to_host].type); |
| 44 end | 46 end |
| 45 else | 47 else |
| 46 log("debug", "opening a new outgoing connection for this stanza"); | 48 log("debug", "opening a new outgoing connection for this stanza"); |