[Pkg-privacy-commits] [irssi-plugin-otr] 87/267: Fix: deprecated g_strcasecmp
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:21 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 8a9a04f804591afc0fc17ebad57891a7147c710d
Author: David Goulet <dgoulet at ev0ke.net>
Date: Fri Nov 2 16:37:35 2012 -0400
Fix: deprecated g_strcasecmp
Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
src/irssi_otr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/irssi_otr.c b/src/irssi_otr.c
index 1f0df0e..95b556e 100644
--- a/src/irssi_otr.c
+++ b/src/irssi_otr.c
@@ -265,7 +265,8 @@ IRC_CTX *ircctx_by_peername(const char *peername, char *nick)
for (tmp = servers; tmp != NULL; tmp = tmp->next) {
SERVER_REC *server = tmp->data;
- if (g_strcasecmp(server->connrec->address, address) == 0)
+ if (g_ascii_strncasecmp(server->connrec->address, address,
+ strlen(server->connrec->address)) == 0)
return server;
}
--
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