Mercurial > pidgin
changeset 30715:59cf1be8eaa7
Fix a few little things.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 13 Mar 2010 08:09:32 +0000 |
parents | 7b310568cd87 |
children | c316749944c1 |
files | libpurple/protocols/msn/command.h libpurple/protocols/msn/msn.c libpurple/protocols/msn/notification.c |
diffstat | 3 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/command.h Sat Mar 13 07:26:25 2010 +0000 +++ b/libpurple/protocols/msn/command.h Sat Mar 13 08:09:32 2010 +0000 @@ -63,17 +63,16 @@ */ MsnCommand *msn_command_from_string(const char *string); - /** - * Destroy a MsnCommand object. If it's being used by someone else, - * it just unref the object and return. + * Destroy a MsnCommand object if its ref count is zero, otherwise + * just unref it. * * @param cmd The MsnCommand to be destroyed. */ void msn_command_destroy(MsnCommand *cmd); /** - * Add 1 to the ref count. + * Increment the ref count. * * @param cmd The MsnCommand to be ref. * @@ -82,7 +81,7 @@ MsnCommand *msn_command_ref(MsnCommand *cmd); /** - * Substrac 1 to the ref count. If the count goes to 0, destroy it. + * Decrement the ref count. If the count goes to 0, destroy it. * * @param cmd The MsnCommand to be unref. *
--- a/libpurple/protocols/msn/msn.c Sat Mar 13 07:26:25 2010 +0000 +++ b/libpurple/protocols/msn/msn.c Sat Mar 13 08:09:32 2010 +0000 @@ -252,7 +252,7 @@ trans = msn_transaction_new(cmdproc, "PRP", "%s %s", type, purple_url_encode(entry)); } - msn_cmdproc_send_trans(cmdproc, trans); + msn_cmdproc_send_trans(cmdproc, trans); } static void
--- a/libpurple/protocols/msn/notification.c Sat Mar 13 07:26:25 2010 +0000 +++ b/libpurple/protocols/msn/notification.c Sat Mar 13 08:09:32 2010 +0000 @@ -311,7 +311,7 @@ if (!notification->in_use) return; - trans = msn_transaction_new(notification->cmdproc, "OUT", NULL, NULL); + trans = msn_transaction_new(notification->cmdproc, "OUT", NULL); msn_transaction_set_send_trId(trans, FALSE); msn_cmdproc_send_trans(notification->cmdproc, trans);