changeset 30810:37ea491f1f79

Avoid magic numbers.
author masca@cpw.pidgin.im
date Sat, 19 Jun 2010 22:06:31 +0000
parents 5f062e882b52
children fcfe022982e4
files libpurple/protocols/msn/slp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Sat Jun 19 22:04:28 2010 +0000
+++ b/libpurple/protocols/msn/slp.c	Sat Jun 19 22:06:31 2010 +0000
@@ -155,7 +155,7 @@
 	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