summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-07-02 12:58:21 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-07-02 12:58:21 +0200
commit5848d06e65703ae3ccf161e1183c191c9da264b4 (patch)
tree9ab584a64ebefe9f7463b634462dffdda82a595b
parent448112f3e62b34693e1106f48c7b638468b42675 (diff)
downloadweechat-5848d06e65703ae3ccf161e1183c191c9da264b4.zip
fset: fix crash in dump of options
-rw-r--r--src/plugins/fset/fset-option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c
index f638052b3..3f0be2ced 100644
--- a/src/plugins/fset/fset-option.c
+++ b/src/plugins/fset/fset-option.c
@@ -1640,7 +1640,7 @@ fset_option_print_log ()
continue;
weechat_log_printf ("");
weechat_log_printf ("[fset option (addr:0x%lx)]", ptr_fset_option);
- weechat_log_printf (" index . . . . . . . . : '%s'", ptr_fset_option->index);
+ weechat_log_printf (" index . . . . . . . . : %d", ptr_fset_option->index);
weechat_log_printf (" file. . . . . . . . . : '%s'", ptr_fset_option->file);
weechat_log_printf (" section . . . . . . . : '%s'", ptr_fset_option->section);
weechat_log_printf (" option. . . . . . . . : '%s'", ptr_fset_option->option);