[Telepathy-commits] [telepathy-salut/master] Corrected unspecified file size from zero to G_MAXUINT64.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:11 PST 2008


20080729131605-8ed0e-f517146225f0afb4f4c1050ada000a9021c982b6.gz
---
 src/salut-file-channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index f2c8cee..32f2100 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -836,7 +836,7 @@ salut_file_channel_check_and_send (SalutFileChannel *channel)
       return;
     }
 
-  if (channel->priv->size == 0 && channel->priv->estimated_size == 0)
+  if (channel->priv->size == G_MAXUINT64 && channel->priv->estimated_size == G_MAXUINT64)
     {
       DEBUG ("Size property not present; not starting file transfer");
       return;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list