summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-api.c')
-rw-r--r--src/plugins/plugin-api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugin-api.c b/src/plugins/plugin-api.c
index 3b9dd3fb5..0aea6d584 100644
--- a/src/plugins/plugin-api.c
+++ b/src/plugins/plugin-api.c
@@ -353,7 +353,8 @@ plugin_api_infolist_get_internal (void *data, const char *infolist_name,
for (ptr_line = ((struct t_gui_buffer *)pointer)->lines; ptr_line;
ptr_line = ptr_line->next_line)
{
- if (!gui_buffer_line_add_to_infolist (ptr_infolist, ptr_line))
+ if (!gui_buffer_line_add_to_infolist (ptr_infolist,
+ pointer, ptr_line))
{
infolist_free (ptr_infolist);
return NULL;