Mercurial > pidgin
changeset 7510:ef3e646152a1
[gaim-migrate @ 8123]
I have this new theory that thos User information for (null) unavailable
errors are because Gaim calls the set away message/set user info function
without actually trying to set an away message or user info.
Maybe.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 14 Nov 2003 13:29:55 +0000 |
parents | 59ccf3d6bd46 |
children | a899742289c2 |
files | src/protocols/oscar/locate.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/locate.c Fri Nov 14 11:19:44 2003 +0000 +++ b/src/protocols/oscar/locate.c Fri Nov 14 13:29:55 2003 +0000 @@ -936,6 +936,9 @@ if (!sess || !(conn = aim_conn_findbygroup(sess, AIM_CB_FAM_LOC))) return -EINVAL; + if (!profile && !awaymsg) + return -EINVAL; + if ((profile && profile_encoding == NULL) || (awaymsg && awaymsg_len && awaymsg_encoding == NULL)) { return -EINVAL; }