# HG changeset patch # User Stu Tomlinson # Date 1204115448 0 # Node ID a298447b2d666947fe89732ec1678923413bf177 # Parent a8c025929245f3dc8a1bc6a2463c6172e5f1d451 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...) diff -r a8c025929245 -r a298447b2d66 libpurple/protocols/msn/notification.c --- 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);