soc.2010.msn-tlc: e52b66f8: Avoid magic numbers.
masca at cpw.pidgin.im
masca at cpw.pidgin.im
Mon Jun 21 03:17:00 EDT 2010
-----------------------------------------------------------------
Revision: e52b66f87760fcd82cc63a92372263bb560dd676
Ancestor: ecbc4b842580aeedf1ed760700ad53cfc501226a
Author: masca at cpw.pidgin.im
Date: 2010-06-19T22:06:31
Branch: im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/e52b66f87760fcd82cc63a92372263bb560dd676
Modified files:
libpurple/protocols/msn/slp.c
ChangeLog:
Avoid magic numbers.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slp.c f20d63ca3983d8ee3db81b0c94dbf67c67c592f0
+++ libpurple/protocols/msn/slp.c d1422e1d616732734f8d4044f5ceb6ca43bde210
@@ -155,7 +155,7 @@ msn_xfer_write(const guchar *data, gsize
slpcall->u.outgoing.len = len;
slpcall->u.outgoing.data = data;
msn_slplink_send_msgpart(slpcall->slplink, slpcall->xfer_msg);
- return MIN(1202, len);
+ return MIN(MSN_SBCONN_MAX_SIZE, len);
}
gssize
More information about the Commits
mailing list