mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
Use of const for some functions returning "char *"
This commit is contained in:
@@ -123,7 +123,7 @@ char *
|
||||
irc_buffer_get_server_prefix (struct t_irc_server *server, char *prefix_code)
|
||||
{
|
||||
static char buf[256];
|
||||
char *prefix;
|
||||
const char *prefix;
|
||||
|
||||
prefix = (prefix_code && prefix_code[0]) ?
|
||||
weechat_prefix (prefix_code) : NULL;
|
||||
|
||||
Reference in New Issue
Block a user