debug xml input

darcs-hash:20080830060732-84dde-54d5d4c4a8747215bd5b224e4216f9fc1eb349a6.gz
This commit is contained in:
Evan Prodromou 2008-08-30 02:07:32 -04:00
parent c3f4789735
commit f76b4c8d72

View File

@ -136,6 +136,7 @@ class XMPPDaemon {
$this->log(LOG_WARNING, 'Forwarded message without addresses'); $this->log(LOG_WARNING, 'Forwarded message without addresses');
return NULL; return NULL;
} }
$this->log(LOG_DEBUG, "Got addresses XML: " . $addresses->toString());
$address = $addresses->sub('address'); $address = $addresses->sub('address');
if (!$address) { if (!$address) {
$this->log(LOG_WARNING, 'Forwarded message without address'); $this->log(LOG_WARNING, 'Forwarded message without address');