Mercurial > pidgin
comparison src/protocols/msn/state.c @ 10481:bcfea6c3d5c9
[gaim-migrate @ 11769]
Patch 1093958 from Felipe Contreras. It fixes stuff.
I also made some tweaks to make valgrind a bit happier.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 07 Jan 2005 02:48:33 +0000 |
parents | 572e4658492c |
children | 0317ad172e8d |
comparison
equal
deleted
inserted
replaced
10480:8e0a91d11362 | 10481:bcfea6c3d5c9 |
---|---|
44 MsnCmdProc *cmdproc; | 44 MsnCmdProc *cmdproc; |
45 MsnUser *user; | 45 MsnUser *user; |
46 MsnObject *msnobj; | 46 MsnObject *msnobj; |
47 const char *state_text; | 47 const char *state_text; |
48 | 48 |
49 g_return_if_fail(session != NULL); | |
50 g_return_if_fail(session->notification != NULL); | |
51 | |
49 cmdproc = session->notification->cmdproc; | 52 cmdproc = session->notification->cmdproc; |
50 user = session->user; | 53 user = session->user; |
51 state_text = msn_state_get_text(state); | 54 state_text = msn_state_get_text(state); |
52 | |
53 g_return_if_fail(session != NULL); | |
54 | 55 |
55 msnobj = msn_user_get_object(user); | 56 msnobj = msn_user_get_object(user); |
56 | 57 |
57 if (msnobj == NULL) | 58 if (msnobj == NULL) |
58 { | 59 { |