summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-10-03 14:47:20 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-10-03 14:50:16 +0100
commit3e3bf4b79322ec5352c21f5e12019decb56ac44f (patch)
treef6ed1469c67e54685f0a75468b448ca631027950 /src
parenta64cd72472d48ad8e88bfebe5e6046f02d4b5c93 (diff)
ServerTLSManager: remove useless DEBUG outputHEADmaster
Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/server-tls-manager.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/server-tls-manager.c b/src/server-tls-manager.c
index 48364512..6f5f29aa 100644
--- a/src/server-tls-manager.c
+++ b/src/server-tls-manager.c
@@ -459,13 +459,9 @@ gabble_server_tls_manager_foreach_channel (TpChannelManager *manager,
{
GabbleServerTLSManager *self = GABBLE_SERVER_TLS_MANAGER (manager);
- DEBUG ("Foreach channel");
-
- if (self->priv->channel == NULL)
- return;
-
/* there's only one channel of this kind */
- func (TP_EXPORTABLE_CHANNEL (self->priv->channel), user_data);
+ if (self->priv->channel != NULL)
+ func (TP_EXPORTABLE_CHANNEL (self->priv->channel), user_data);
}
static void