Mercurial > pidgin
diff libpurple/protocols/oscar/bstream.c @ 24665:531922f4ea2a
Minor cleanup: remove od->sn, since it's the same as PurpleAccount->username
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 07 Dec 2008 23:34:12 +0000 |
parents | 979a81468e19 |
children | 3f3d21ae1825 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/bstream.c Sun Dec 07 02:36:57 2008 +0000 +++ b/libpurple/protocols/oscar/bstream.c Sun Dec 07 23:34:12 2008 +0000 @@ -302,3 +302,12 @@ return len; } + +int byte_stream_putuid(ByteStream *bs, OscarData *od) +{ + PurpleAccount *account; + + account = purple_connection_get_account(od->gc); + + return byte_stream_putle32(bs, atoi(purple_account_get_username(account))); +}