mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
Query bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1048 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3ef279fd1c
commit
ebeb48d307
2 changed files with 15 additions and 7 deletions
|
|
@ -302,8 +302,8 @@ static int server_remove_channels(SERVER_REC *server)
|
|||
found = TRUE;
|
||||
}
|
||||
|
||||
for (tmp = server->queries; tmp != NULL; tmp = tmp->next)
|
||||
query_change_server(tmp->data, NULL);
|
||||
while (server->queries != NULL)
|
||||
query_change_server(server->queries->data, NULL);
|
||||
|
||||
g_slist_free(server->channels);
|
||||
g_slist_free(server->queries);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue