[pkg-otr-team] [irssi-plugin-otr] 137/167: Fixed a bare return with a return value in check_incoming_instance_change()

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:39 UTC 2014


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

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-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-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list