pidgin: 80adde97: MXit doesn't actually support very large...

qulogic at pidgin.im qulogic at pidgin.im
Sun Oct 16 04:26:08 EDT 2011


----------------------------------------------------------------------
Revision: 80adde9765bc0c8803c79406bce2f71c7c71c52f
Parent:   644d46cc49d0ce8b5f7f5a6a517d27ba4f1943b6
Author:   qulogic at pidgin.im
Date:     10/16/11 03:10:29
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/80adde9765bc0c8803c79406bce2f71c7c71c52f

Changelog: 

MXit doesn't actually support very large file transfers, but fix the
variable types, at least.

Changes against parent 644d46cc49d0ce8b5f7f5a6a517d27ba4f1943b6

  patched  libpurple/protocols/mxit/filexfer.c

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/filexfer.c	87b4419328dda6cb4b21f92c017fd3c3c32441c5
+++ libpurple/protocols/mxit/filexfer.c	a56559498da4a0aa5ac85aef33b1e1b271ea7aff
@@ -139,7 +139,7 @@ static void mxit_xfer_init( PurpleXfer* 
 		 * we have just accepted a file transfer request from MXit.  send a confirmation
 		 * to the MXit server so that can send us the file
 		 */
-		mxit_send_file_accept( mx->session, mx->fileid, purple_xfer_get_size( xfer ), 0 );
+		mxit_send_file_accept( mx->session, mx->fileid, (int) purple_xfer_get_size( xfer ), 0 );
 	}
 }
 
@@ -151,7 +151,7 @@ static void mxit_xfer_start( PurpleXfer*
  */
 static void mxit_xfer_start( PurpleXfer* xfer )
 {
-	size_t			filesize;
+	goffset			filesize;
 	unsigned char*	buffer;
 	int				size;
 	int				wrote;


More information about the Commits mailing list