summaryrefslogtreecommitdiff
path: root/src/plugins/notify
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-15 22:35:12 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-15 22:35:12 +0100
commit8724fc18afa1d2702eeed9aa6e7d825d25cbda98 (patch)
tree735f8d09799db47ff387129bb8613e940bb4fbf7 /src/plugins/notify
parente1d639d7ebbea6cf1c28e6d3cba284f5a3562dac (diff)
downloadweechat-8724fc18afa1d2702eeed9aa6e7d825d25cbda98.zip
Use of const for some functions returning "char *"
Diffstat (limited to 'src/plugins/notify')
-rw-r--r--src/plugins/notify/notify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/notify/notify.c b/src/plugins/notify/notify.c
index dfb6d05ae..603e2bd7f 100644
--- a/src/plugins/notify/notify.c
+++ b/src/plugins/notify/notify.c
@@ -76,7 +76,8 @@ notify_search (const char *notify_name)
char *
notify_build_option_name (struct t_gui_buffer *buffer)
{
- char *option_name, *plugin_name, *name;
+ const char *plugin_name, *name;
+ char *option_name;
int length;
plugin_name = weechat_buffer_get_string (buffer, "plugin");