# HG changeset patch # User Elliott Sales de Andrade # Date 1268467772 0 # Node ID 59cf1be8eaa7e0647c438c61839d094fd2402a7f # Parent 7b310568cd878fedd73919e777907fc121896420 Fix a few little things. diff -r 7b310568cd87 -r 59cf1be8eaa7 libpurple/protocols/msn/command.h --- 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. * diff -r 7b310568cd87 -r 59cf1be8eaa7 libpurple/protocols/msn/msn.c --- 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 diff -r 7b310568cd87 -r 59cf1be8eaa7 libpurple/protocols/msn/notification.c --- 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);