[Pkg-privacy-commits] [pidgin-otr] 137/255: Fixed a bare return with a return value in check_incoming_instance_change()

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:51:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch experimental
in repository pidgin-otr.

commit bf23e4791af7d2955d309d6704442ee59b1d358e
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date:   Thu Jul 19 08:49:50 2012 -0400

    Fixed a bare return with a return value in check_incoming_instance_change()
    
    Thanks to Paul Wouters <paul at cypherpunks.ca> for the report
---
 gtk-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk-dialog.c b/gtk-dialog.c
index 28349b3..dd40bcd 100644
--- a/gtk-dialog.c
+++ b/gtk-dialog.c
@@ -3144,7 +3144,7 @@ static gboolean check_incoming_instance_change(PurpleAccount *account,
 	    "otr-last_received_ctx");
 
     if (!last_received_instance) {
-	return; /* OTR disabled for this buddy */
+	return 0; /* OTR disabled for this buddy */
     }
 
     if (*last_received_instance == OTRL_INSTAG_MASTER || 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pidgin-otr.git



More information about the Pkg-privacy-commits mailing list