[Pkg-privacy-commits] [irssi-plugin-otr] 105/267: Fix: on receive error, return error code

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


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

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit cb99701c44eb1b4d37434f6ced10b1e79cd6e931
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Sat Nov 3 23:38:52 2012 -0400

    Fix: on receive error, return error code
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 src/otr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/otr.c b/src/otr.c
index 720eb6a..4ce1a6a 100644
--- a/src/otr.c
+++ b/src/otr.c
@@ -727,6 +727,7 @@ int otr_receive(IRC_CTX *ircctx, const char *msg, const char *from,
 	if (ret) {
 		otr_debug(ircctx, from, TXT_RECEIVE_IGNORE, strlen(msg), accname, from,
 				msg);
+		goto error;
 	} else {
 		if (*new_msg) {
 			otr_debug(ircctx, from, TXT_RECEIVE_CONVERTED);

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



More information about the Pkg-privacy-commits mailing list