correct wrong function prefixes: gslist -> i_slist

This commit is contained in:
Ailin Nemui 2021-01-05 21:35:18 +01:00
commit b5ddc55fe6
17 changed files with 47 additions and 53 deletions

View file

@ -357,7 +357,7 @@ static void autoconnect_servers(void)
if (rec->autoconnect &&
(rec->chatnet == NULL ||
gslist_find_icase_string(chatnets, rec->chatnet) == NULL)) {
i_slist_find_icase_string(chatnets, rec->chatnet) == NULL)) {
if (rec->chatnet != NULL) {
chatnets = g_slist_append(chatnets, rec->chatnet);
str = g_strdup_printf("-network %s %s %d", rec->chatnet, rec->address, rec->port);

View file

@ -84,7 +84,7 @@ static void print_mode(MODE_REC *rec)
tmp = modes; modes = NULL;
nicks = gslist_to_string(rec->nicks, ", ");
nicks = i_slist_to_string(rec->nicks, ", ");
printformat(rec->channel->server, rec->channel->visible_name, rec->level,
IRCTXT_CHANMODE_CHANGE, rec->channel->visible_name, rec->mode, nicks, "");
g_free(nicks);

View file

@ -212,8 +212,7 @@ static void print_netjoins(NETJOIN_SERVER_REC *server, const char *filter_channe
}
/* remove the channel from old_channels too */
old = gslist_find_icase_string(rec->old_channels,
realchannel);
old = i_slist_find_icase_string(rec->old_channels, realchannel);
if (old != NULL) {
void *data = old->data;
rec->old_channels =
@ -340,7 +339,7 @@ static void msg_join(IRC_SERVER_REC *server, const char *channel,
/* if this was not a channel they split from, treat it normally */
if (netjoin != NULL) {
if (!gslist_find_icase_string(netjoin->old_channels, channel))
if (!i_slist_find_icase_string(netjoin->old_channels, channel))
return;
} else {
channels = split->channels;

View file

@ -46,7 +46,7 @@ static GSList *mask_add_once(GSList *list, const char *mask)
str = ptr == NULL ? g_strdup(mask) :
g_strndup(mask, (int) (ptr-mask));
if (gslist_find_icase_string(list, str) == NULL)
if (i_slist_find_icase_string(list, str) == NULL)
return g_slist_append(list, str);
g_free(str);