1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

Use of const for some functions returning "char *"

This commit is contained in:
Sebastien Helleu
2008-11-15 22:35:12 +01:00
parent e1d639d7eb
commit 8724fc18af
60 changed files with 895 additions and 290 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ irc_channel_new (struct t_irc_server *server, int channel_type,
*/
void
irc_channel_set_topic (struct t_irc_channel *channel, char *topic)
irc_channel_set_topic (struct t_irc_channel *channel, const char *topic)
{
if (channel->topic)
free (channel->topic);