minor updates

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@696 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-09-29 23:57:30 +00:00 committed by cras
commit 3eea53d2ee
6 changed files with 10 additions and 1 deletions

View file

@ -147,6 +147,8 @@ void ban_remove(IRC_CHANNEL_REC *channel, const char *bans)
GSList *tmp;
char **ban, **banlist;
g_return_if_fail(bans != NULL);
str = g_string_new(NULL);
banlist = g_strsplit(bans, " ", -1);
for (ban = banlist; *ban != NULL; ban++) {

View file

@ -131,7 +131,6 @@ IRC_SERVER_REC *irc_server_connect(IRC_SERVER_CONNECT_REC *conn)
if (!server_start_connect((SERVER_REC *) server)) {
server_connect_free(SERVER_CONNECT(conn));
g_free(server->nick);
g_free(server);
return NULL;
}