Mercurial > pidgin
diff src/protocols/msn/user.c @ 19800:da3f8f7ec3ce
[gaim-migrate @ 16737]
can send Message to Yahoo Messenger
can receive the Yahoo Message, Need to post it to the conversation
committed by Ma Yuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
| author | Ma Yuan <mayuan2006@gmail.com> |
|---|---|
| date | Sun, 13 Aug 2006 16:01:52 +0000 |
| parents | b99512bd6d85 |
| children | 2e078c892e0b |
line wrap: on
line diff
--- a/src/protocols/msn/user.c Sun Aug 13 06:09:48 2006 +0000 +++ b/src/protocols/msn/user.c Sun Aug 13 16:01:52 2006 +0000 @@ -142,8 +142,10 @@ { g_return_if_fail(user != NULL); - g_free(user->store_name); - user->store_name = g_strdup(name); + if (name != NULL){ + g_free(user->store_name); + user->store_name = g_strdup(name); + } } void
