/soc/2015/jgeboski/facebook: 8798ae630e35: facebook: fixed wrong...

James Geboski jgeboski at gmail.com
Tue Jun 23 17:16:15 EDT 2015


Changeset: 8798ae630e3580242dd8d075c69958b30a16f95a
Author:	 James Geboski <jgeboski at gmail.com>
Date:	 2015-06-17 21:58 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/8798ae630e35

Description:

facebook: fixed wrong return value

diffstat:

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

diffs (12 lines):

diff --git a/libpurple/protocols/facebook/data.c b/libpurple/protocols/facebook/data.c
--- a/libpurple/protocols/facebook/data.c
+++ b/libpurple/protocols/facebook/data.c
@@ -205,7 +205,7 @@ fb_data_get_chatid(FbData *fata)
 {
 	FbDataPrivate *priv;
 
-	g_return_val_if_fail(FB_IS_DATA(fata), NULL);
+	g_return_val_if_fail(FB_IS_DATA(fata), 0);
 	priv = fata->priv;
 
 	return priv->chatid++;



More information about the Commits mailing list