mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 22:23:27 +01:00
strcasecmp should be strcmp
This commit is contained in:
parent
35718db46f
commit
cb4a631df0
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user