changeset 8652:5747e3fac25a

[gaim-migrate @ 9404] The NOT command only sends one parameter now. Fix a segfault. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 13 Apr 2004 16:20:55 +0000
parents 3278285930b5
children 60cd196efd47
files src/protocols/msn/notification.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Tue Apr 13 16:12:01 2004 +0000
+++ b/src/protocols/msn/notification.c	Tue Apr 13 16:20:55 2004 +0000
@@ -1174,7 +1174,7 @@
 		size_t param_count)
 {
 	servconn->payload_cb  = NULL;
-	servconn->payload_len = atoi(params[2]);
+	servconn->payload_len = atoi(params[1]);
 
 	return TRUE;
 }