Mercurial > pidgin.yaz
diff libpurple/protocols/msn/notification.c @ 22338:a298447b2d66
Specify the base to convert from to prevent interpreting 0-prefixed client
ids as octal (just in case MS decide to send them like that...)
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 27 Feb 2008 12:30:48 +0000 |
parents | 382bc33e8824 |
children | 6aa076a2ea6f 44159acb7bb7 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Wed Feb 27 09:18:06 2008 +0000 +++ b/libpurple/protocols/msn/notification.c Wed Feb 27 12:30:48 2008 +0000 @@ -1126,7 +1126,7 @@ } } - clientid = strtoul(cmd->params[4], NULL, 0); + clientid = strtoul(cmd->params[4], NULL, 10); user->mobile = (clientid & MSN_CLIENT_CAP_MSNMOBILE); msn_user_set_state(user, state);