pidgin: c4b858f9: Fix a warning.

qulogic at pidgin.im qulogic at pidgin.im
Wed Mar 10 00:26:16 EST 2010


-----------------------------------------------------------------
Revision: c4b858f9c89f6ff3369b6369f001256e48807213
Ancestor: 830037b48e3f815fcca84b9781302b5e1843c0a4
Author: qulogic at pidgin.im
Date: 2010-03-08T05:57:15
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c4b858f9c89f6ff3369b6369f001256e48807213

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

Fix a warning.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	052b99b5abf4056778ebd7ce87c29087ff4af95f
+++ libpurple/protocols/jabber/jabber.c	3139a22e8e7fc1e618cd40a19417aab84279a2ef
@@ -3315,7 +3315,7 @@ gboolean jabber_can_receive_file(PurpleC
 	}
 }
 
-static void
+static PurpleCmdRet
 jabber_cmd_mood(PurpleConversation *conv,
 		const char *cmd, char **args, char **error, void *data)
 {
@@ -3335,7 +3335,10 @@ jabber_cmd_mood(PurpleConversation *conv
 		purple_conversation_write(conv, NULL,
 		    _("Account does not support PEP, can't set mood"),
 		    PURPLE_MESSAGE_ERROR, time(NULL));
+		return PURPLE_CMD_RET_FAILED;
 	}
+
+	return PURPLE_CMD_STATUS_OK;
 }
 
 void jabber_register_commands(void)


More information about the Commits mailing list