/soc/2013/ankitkv/gobjectification: a87f359825e7: Added back a r...

Ankit Vani a at nevitus.org
Sat Aug 31 19:31:42 EDT 2013


Changeset: a87f359825e7f7f8822c7878f2ed463a9a0165f3
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-01 04:46 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/a87f359825e7

Description:

Added back a required condition

diffstat:

 libpurple/plugins/perl/common/Prpl.xs |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/libpurple/plugins/perl/common/Prpl.xs b/libpurple/plugins/perl/common/Prpl.xs
--- a/libpurple/plugins/perl/common/Prpl.xs
+++ b/libpurple/plugins/perl/common/Prpl.xs
@@ -68,6 +68,8 @@ CODE:
 		protocol = purple_connection_get_protocol(gc);
 		if (protocol)
 			RETVAL = purple_protocol_iface_send_raw(protocol, gc, str, strlen(str));
+		else
+			RETVAL = 0;
 	}
 OUTPUT:
 	RETVAL



More information about the Commits mailing list