[pkg-otr-team] [irssi-plugin-otr] 84/167: * otr-plugin.c: Found small issue with last commit.
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 3 21:55:34 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 d0efc5c68966ca8a576391ec35dfe4301d180f85
Author: Rob Smits <rdfsmits at cs.uwaterloo.ca>
Date: Thu May 10 21:28:19 2012 -0400
* otr-plugin.c: Found small issue with last commit.
---
otr-plugin.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/otr-plugin.c b/otr-plugin.c
index 5e576fd..fdfe293 100644
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -432,7 +432,6 @@ static void handle_msg_event_cb(void *opdata, OtrlMessageEvent msg_event,
char *buf;
const char *format;
OtrlMessageEvent * last_msg_event;
- gboolean value_existed;
conv = otrg_plugin_context_to_conv(context, 1);
last_msg_event = g_hash_table_lookup(conv->data, "otr-last_msg_event");
@@ -642,7 +641,7 @@ static void handle_msg_event_cb(void *opdata, OtrlMessageEvent msg_event,
}
break;
case OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE:
- if (value_existed && *last_msg_event == msg_event) {
+ if (*last_msg_event == msg_event) {
break;
}
format = _("%s has sent a message intended for a different session."
--
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