diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-22 23:36:12 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-22 23:36:12 +0100 |
commit | 61ca92972886cd7a9bc301ae7e23d6dde74920bc (patch) | |
tree | 7b69905a86b095f4fe6dffaa5a86ae6a0725c125 /src/plugins/demo | |
parent | 8c4dc57d8e5a6b1f9f239bdcbf30dd07480993be (diff) | |
download | weechat-61ca92972886cd7a9bc301ae7e23d6dde74920bc.zip |
Added tags for lines and custom filtering by tags or regex (task #7674), fixed many memory leaks
Diffstat (limited to 'src/plugins/demo')
-rw-r--r-- | src/plugins/demo/demo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index 342d0bc68..02529c49e 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -147,8 +147,8 @@ demo_buffer_input_data_cb (void *data, struct t_gui_buffer *buffer, "buffer_input_data_cb: buffer = %x (%s / %s), " "input_data = '%s'", buffer, - weechat_buffer_get (buffer, "category"), - weechat_buffer_get (buffer, "name"), + weechat_buffer_get_string (buffer, "category"), + weechat_buffer_get_string (buffer, "name"), input_data); return WEECHAT_RC_OK; @@ -169,8 +169,8 @@ demo_buffer_close_cb (void *data, struct t_gui_buffer *buffer) weechat_printf (NULL, "buffer_close_cb: buffer = %x (%s / %s)", buffer, - weechat_buffer_get (buffer, "category"), - weechat_buffer_get (buffer, "name")); + weechat_buffer_get_string (buffer, "category"), + weechat_buffer_get_string (buffer, "name")); } return WEECHAT_RC_OK; |