summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-03-28 14:26:12 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2012-03-28 14:46:08 +0100
commitb8f84c653318b18c5070085e66fca011f04bcb65 (patch)
tree69db72bd8c05dc8923b0e142ce2c97d03349b446
parent687ec45023294d6003f987ff0dfc72986fdb7f46 (diff)
bytestream-ibb: correct send_data's return value.
This function returns the number of messages sent, not a boolean.
-rw-r--r--src/bytestream-ibb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytestream-ibb.c b/src/bytestream-ibb.c
index e4d66fceb..de8bfbf51 100644
--- a/src/bytestream-ibb.c
+++ b/src/bytestream-ibb.c
@@ -401,7 +401,7 @@ send_close_stanza (GabbleBytestreamIBB *self)
g_object_unref (msg);
}
-static gboolean
+static guint
send_data (GabbleBytestreamIBB *self, const gchar *str, guint len,
gboolean *result);
@@ -452,7 +452,7 @@ iq_acked_cb (GabbleConnection *conn,
}
}
-static gboolean
+static guint
send_data (GabbleBytestreamIBB *self,
const gchar *str,
guint len,