/pidgin/main: a694b89708c3: Fix incorrect documentation for the ...

Daniel Atallah datallah at pidgin.im
Thu Apr 4 15:19:01 EDT 2013


Changeset: a694b89708c3a9b7a23be4679ad7816d9b84668f
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2013-04-04 15:18 -0400
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/a694b89708c3

Description:

Fix incorrect documentation for the prpl chat_send function.

diffstat:

 libpurple/prpl.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff --git a/libpurple/prpl.h b/libpurple/prpl.h
--- a/libpurple/prpl.h
+++ b/libpurple/prpl.h
@@ -417,14 +417,13 @@ struct _PurplePluginProtocolInfo
 	 * the account is not connected, return -ENOTCONN.  If the
 	 * PRPL is unable to send the message for another reason, return
 	 * some other negative value.  You can use one of the valid
-	 * errno values, or just big something.  If the message should
-	 * not be echoed to the conversation window, return 0.
+	 * errno values, or just big something.
 	 *
 	 * @param id      The id of the chat to send the message to.
 	 * @param message The message to send to the chat.
 	 * @param flags   A bitwise OR of #PurpleMessageFlags representing
 	 *                message flags.
-	 * @return 	  A positive number or 0 in case of succes,
+	 * @return 	  A positive number or 0 in case of success,
 	 *                a negative error number in case of failure.
 	 */
 	int  (*chat_send)(PurpleConnection *, int id, const char *message, PurpleMessageFlags flags);



More information about the Commits mailing list