[Telepathy-commits] [telepathy-salut/master] test-xmpp-connection.c: don't ignore fwrite return value so compiler is happy
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Dec 8 06:12:34 PST 2008
---
tests/test-xmpp-connection.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/test-xmpp-connection.c b/tests/test-xmpp-connection.c
index d3a992b..4e2b83e 100644
--- a/tests/test-xmpp-connection.c
+++ b/tests/test-xmpp-connection.c
@@ -16,8 +16,9 @@ gboolean
send_hook (GibberTransport *transport, const guint8 *data,
gsize length, GError **error, gpointer user_data)
{
+ size_t written;
/* Nothing for now */
- fwrite (data, 1, length, xmlfile);
+ written = fwrite (data, 1, length, xmlfile);
return TRUE;
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list