[Pkg-privacy-commits] [irssi-plugin-otr] 174/267: Fix: use empty string if fp not found

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:40 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 a4bb78315ecdaf7337a51f1718c3419fcfd737d3
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Sun Dec 2 14:31:50 2012 -0500

    Fix: use empty string if fp not found
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 src/otr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/otr.c b/src/otr.c
index faf232d..b98141a 100644
--- a/src/otr.c
+++ b/src/otr.c
@@ -580,7 +580,7 @@ void otr_trust(SERVER_REC *irssi, const char *nick, char *str_fp,
 		IRSSI_NOTICE(irssi, nick, "Fingerprint %g%s%n trusted!", peerfp);
 	} else {
 		IRSSI_NOTICE(irssi, nick, "Fingerprint %y%s%n NOT found",
-				(str_fp != NULL) ? str_fp : peerfp);
+				(str_fp != NULL) ? str_fp : "");
 	}
 
 end:
@@ -898,7 +898,7 @@ void otr_forget(SERVER_REC *irssi, const char *nick, char *str_fp,
 				fp);
 	} else {
 		IRSSI_NOTICE(irssi, nick, "Fingerprint %y%s%n NOT found",
-				(str_fp != NULL) ? str_fp : fp);
+				(str_fp != NULL) ? str_fp : "");
 	}
 
 end:
@@ -960,7 +960,7 @@ void otr_distrust(SERVER_REC *irssi, const char *nick, char *str_fp,
 				fp);
 	} else {
 		IRSSI_NOTICE(irssi, nick, "Fingerprint %y%s%n NOT found",
-				(str_fp != NULL) ? str_fp : fp);
+				(str_fp != NULL) ? str_fp : "");
 	}
 
 end:

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