[Telepathy-commits] [telepathy-salut/master] test-xmpp-connection.c: check written value

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Dec 8 06:38:55 PST 2008


---
 tests/test-xmpp-connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/test-xmpp-connection.c b/tests/test-xmpp-connection.c
index 4e2b83e..f7b4f4d 100644
--- a/tests/test-xmpp-connection.c
+++ b/tests/test-xmpp-connection.c
@@ -19,6 +19,7 @@ send_hook (GibberTransport *transport, const guint8 *data,
   size_t written;
   /* Nothing for now */
   written = fwrite (data, 1, length, xmlfile);
+  g_assert (written == length);
   return TRUE;
 }
 
-- 
1.5.6.5



More information about the Telepathy-commits mailing list