/soc/2013/ankitkv/gobjectification: d374b5aef355: Fixed an incor...

Ankit Vani a at nevitus.org
Thu Oct 24 19:04:08 EDT 2013


Changeset: d374b5aef3557eb8f00f376a4ca0b98d18e49ec6
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-10-25 04:33 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/d374b5aef355

Description:

Fixed an incorrect return value in purple_connection_get_error_info

diffstat:

 libpurple/connection.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/connection.c b/libpurple/connection.c
--- a/libpurple/connection.c
+++ b/libpurple/connection.c
@@ -505,7 +505,7 @@ purple_connection_get_error_info(const P
 {
 	PurpleConnectionPrivate *priv = PURPLE_CONNECTION_GET_PRIVATE(gc);
 
-	g_return_val_if_fail(priv != NULL, TRUE);
+	g_return_val_if_fail(priv != NULL, NULL);
 
 	return priv->error_info;
 }



More information about the Commits mailing list