Mercurial > pidgin.yaz
changeset 14854:cb3f61c55148
[gaim-migrate @ 17623]
Should fix a rare MSN crash that Evan pointed out on the gaim-devel
mailing list on 6 Oct 2006
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 30 Oct 2006 03:40:56 +0000 |
parents | 910e783fbbc7 |
children | 48afaede250e |
files | libgaim/protocols/msn/command.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/msn/command.c Mon Oct 30 00:40:19 2006 +0000 +++ b/libgaim/protocols/msn/command.c Mon Oct 30 03:40:56 2006 +0000 @@ -53,12 +53,15 @@ if (param_start) { + *param_start++ = '\0'; + cmd->params = g_strsplit(param_start, " ", 0); + } + + if (cmd->params != NULL) + { char *param; int c; - *param_start++ = '\0'; - cmd->params = g_strsplit(param_start, " ", 0); - for (c = 0; cmd->params[c]; c++); cmd->param_count = c;