libpurple/protocols/mxit/protocol.h

changeset 33760
66611fba7197
parent 33710
0d7ead568881
parent 33717
b822f110a36b
--- a/libpurple/protocols/mxit/protocol.h	Mon Feb 18 15:53:46 2013 -0800
+++ b/libpurple/protocols/mxit/protocol.h	Mon Feb 18 17:25:08 2013 -0800
@@ -35,6 +35,7 @@
 
 
 #define		CP_MAX_PACKET			( 1 * 1000 * 1000 )	/* maximum client protocol packet size (1 MB) */
+#define		CP_MAX_FILESIZE			( CP_MAX_PACKET - 1000 )	/* maximum file size (reserve some space for packet headers) */
 #define		MXIT_EMOTICON_SIZE		18					/* icon size for custom emoticons */
 #define		CP_MAX_STATUS_MSG		250					/* maximum status message length (in characters) */
 

mercurial