[Telepathy-commits] [telepathy-gabble/master] coding style fixes
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Jan 6 08:41:36 PST 2009
---
src/bytestream-multiple.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/bytestream-multiple.c b/src/bytestream-multiple.c
index 4d4e64d..f8aeee6 100644
--- a/src/bytestream-multiple.c
+++ b/src/bytestream-multiple.c
@@ -380,7 +380,7 @@ gabble_bytestream_multiple_send (GabbleBytestreamIface *iface,
return FALSE;
}
- g_assert(priv->active_bytestream);
+ g_assert (priv->active_bytestream != NULL);
return gabble_bytestream_iface_send (priv->active_bytestream, len, str);
}
@@ -412,7 +412,7 @@ gabble_bytestream_multiple_accept (GabbleBytestreamIface *iface,
return;
}
- g_return_if_fail (priv->active_bytestream);
+ g_return_if_fail (priv->active_bytestream != NULL);
all_methods = g_list_copy (priv->fallback_stream_methods);
g_object_get (priv->active_bytestream, "protocol", ¤t_method, NULL);
@@ -462,7 +462,7 @@ gabble_bytestream_multiple_close (GabbleBytestreamIface *iface,
/* bytestream already closed, do nothing */
return;
- if (priv->active_bytestream)
+ if (priv->active_bytestream != NULL)
gabble_bytestream_iface_close (priv->active_bytestream, error);
else
/* It can happen if the bytestream is still empty, i.e. not stream
--
1.5.6.5
More information about the Telepathy-commits
mailing list