1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 05:53:02 +01:00

strcasecmp should be strcmp

This commit is contained in:
Jfreegman 2015-06-12 23:16:00 -04:00
parent 35718db46f
commit cb4a631df0
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -241,7 +241,7 @@ int group_get_nick_peernumber(int groupnum, const char *nick)
int i; int i;
for (i = 0; i < groupchats[groupnum].num_peers; ++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; return i;
} }