Skip to content

Commit

Permalink
Fix a bug that sets the mobile status to non-mobile buddies.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfiloni authored and felipec committed Jan 12, 2009
1 parent b2d2932 commit 84b5edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notification.c
Expand Up @@ -792,7 +792,7 @@ nln_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
#if defined(PECAN_CVR)
MsnObject *msnobj;
#endif /* defined(PECAN_CVR) */
int clientid;
unsigned long clientid;
const char *state, *passport;
gchar *friendly;

Expand Down Expand Up @@ -832,7 +832,7 @@ nln_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
}
#endif /* defined(PECAN_CVR) */

clientid = atoi(cmd->params[3]);
clientid = strtoul (cmd->params[3], NULL, 10);
user->mobile = (clientid & MSN_CLIENT_CAP_MSNMOBILE);

pecan_contact_set_state(user, state);
Expand Down

0 comments on commit 84b5edb

Please sign in to comment.