summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-22 17:47:25 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-22 17:47:25 +0100
commit09bed16dbd39791b43f86a1c00279c7fdb5cbb58 (patch)
tree1c156c3ae7188cdb77efe456c5810c9e64037137 /src/plugins
parent828e9a835fe52c904cb4533c777b72da156f6aeb (diff)
downloadweechat-09bed16dbd39791b43f86a1c00279c7fdb5cbb58.zip
Save last read line (for marker) within /upgrade
Diffstat (limited to 'src/plugins')
-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;