[Pkg-privacy-commits] [irssi-plugin-otr] 72/267: wrongly named event.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:29 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 df56dfca3cef43f4a8fb9b1245494fc12504835f
Author: Uli Meis <a.sporto+bee at gmail.com>
Date:   Fri Feb 20 23:12:12 2009 +0100

    wrongly named event.
---
 io_util.c  | 2 +-
 otr.h      | 2 +-
 otr_util.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/io_util.c b/io_util.c
index 323b91a..40366cb 100644
--- a/io_util.c
+++ b/io_util.c
@@ -29,7 +29,7 @@ char *otr_status_txt[] = {
 	"SMP_INCOMING",
 	"SMP_FINALIZE",
 	"SMP_ABORTED",
-	"SMP_PEER_FINISHED",
+	"PEER_FINISHED",
 	"SMP_FAILED",
 	"SMP_SUCCESS",
 	"GONE_SECURE",
diff --git a/otr.h b/otr.h
index 81229be..1fe90c4 100644
--- a/otr.h
+++ b/otr.h
@@ -166,7 +166,7 @@ enum {
 	IO_STC_SMP_INCOMING,
 	IO_STC_SMP_FINALIZE,
 	IO_STC_SMP_ABORTED,
-	IO_STC_SMP_PEER_FINISHED,
+	IO_STC_PEER_FINISHED,
 	IO_STC_SMP_FAILED,
 	IO_STC_SMP_SUCCESS,
 	IO_STC_GONE_SECURE,
diff --git a/otr_util.c b/otr_util.c
index 62aeedc..6fa42cb 100644
--- a/otr_util.c
+++ b/otr_util.c
@@ -647,7 +647,7 @@ void otr_handle_tlvs(OtrlTLV *tlvs, ConnContext *co,
 
 	tlv = otrl_tlv_find(tlvs, OTRL_TLV_DISCONNECTED);
 	if (tlv) {
-		otr_status_change(ircctx,from,IO_STC_SMP_PEER_FINISHED);
+		otr_status_change(ircctx,from,IO_STC_PEER_FINISHED);
 		otr_notice(ircctx,from,TXT_PEER_FINISHED,from);
 	}
 

-- 
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