[Telepathy-commits] [telepathy-gabble/master] Style: use if (ptr != NULL) instead of if (ptr).
Alban Crequy
alban.crequy at collabora.co.uk
Mon Oct 20 09:20:10 PDT 2008
---
src/tube-dbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tube-dbus.c b/src/tube-dbus.c
index efd1aa1..ae010ef 100644
--- a/src/tube-dbus.c
+++ b/src/tube-dbus.c
@@ -416,18 +416,18 @@ gabble_tube_dbus_dispose (GObject *object)
priv->dispose_has_run = TRUE;
- if (priv->bytestream)
+ if (priv->bytestream != NULL)
{
gabble_bytestream_iface_close (priv->bytestream, NULL);
}
- if (priv->dbus_conn)
+ if (priv->dbus_conn != NULL)
{
dbus_connection_close (priv->dbus_conn);
dbus_connection_unref (priv->dbus_conn);
}
- if (priv->dbus_srv)
+ if (priv->dbus_srv != NULL)
{
dbus_server_disconnect (priv->dbus_srv);
dbus_server_unref (priv->dbus_srv);
--
1.5.6.5
More information about the Telepathy-commits
mailing list