From cb4a631df096231c7f9be9038550b0fe36d3da4c Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Fri, 12 Jun 2015 23:16:00 -0400 Subject: [PATCH] strcasecmp should be strcmp --- src/groupchat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchat.c b/src/groupchat.c index a3a6aa7..f15540b 100644 --- a/src/groupchat.c +++ b/src/groupchat.c @@ -241,7 +241,7 @@ int group_get_nick_peernumber(int groupnum, const char *nick) int i; for (i = 0; i < groupchats[groupnum].num_peers; ++i) { - if (strcasecmp(nick, (char *) &groupchats[groupnum].peer_names[i * TOX_MAX_NAME_LENGTH]) == 0) + if (strcmp(nick, (char *) &groupchats[groupnum].peer_names[i * TOX_MAX_NAME_LENGTH]) == 0) return i; }